aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-08-17 23:33:54 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-08-17 23:36:11 +0200
commit6f35d108e5b018ac40bad4e242088134bab53e81 (patch)
tree71838e66a022e2f9c7954051869276db0e0f8af9
parent62684168518356fd78bf07dc719dc19c5b1562b4 (diff)
ipaccess: don't close the signalling link if we receive bad OML/RSL message
Instead, propagate the error to upper layers. This fixes a segfault in the BSC if bad OML/RSL message is received.
-rw-r--r--src/input/ipaccess.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 836c2f8..8871246 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -424,7 +424,6 @@ static int handle_ts1_read(struct osmo_fd *bfd)
LOGP(DLINP, LOGL_ERROR, "Bad signalling message,"
"closing socket.\n");
ret = -EINVAL;
- goto err;
}
return ret;
err: