aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-08 20:09:48 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-08 20:09:48 +0200
commitb9bc45b1b0abbfc075a957d188388901e2b0270a (patch)
tree7299e841a6c249f1892a37127bb6729501fc2400 /openbsc/include
parent65d10c1320d134ff9ffb0c0de13cd24cb53f9117 (diff)
bssap: Speculative crash fix when queueing messages for the BTS
It appears to be possible that we attempt to submit a DTAP on a SCCP connection when we have a channel without the msc_data assigned. This change should fix the crash (which is not well understood), fix a memleak in the case of the queue being full.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bssap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bssap.h b/openbsc/include/openbsc/bssap.h
index 3b06fb5c3..f32daf006 100644
--- a/openbsc/include/openbsc/bssap.h
+++ b/openbsc/include/openbsc/bssap.h
@@ -326,7 +326,6 @@ void bsc_queue_connection_write(struct sccp_connection *conn, struct msgb *msg);
void bsc_free_queued(struct sccp_connection *conn);
void bsc_send_queued(struct sccp_connection *conn);
-void bts_queue_send(struct msgb *msg, int link_id);
void bts_send_queued(struct bss_sccp_connection_data*);
void bts_free_queued(struct bss_sccp_connection_data*);
void bts_unblock_queue(struct bss_sccp_connection_data*);