aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_sndcp.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-01 19:56:19 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-01 19:56:19 +0200
commit8911cef81db03c6d3b3f6b7361a56538f8b2dd5c (patch)
tree567406255b89d3b18f0f62f77f58e629e84c5220 /openbsc/src/gprs/gprs_sndcp.h
parent951a12cf4e6ab74d96466de5462265070b345291 (diff)
[SGSN] Fix segfault when passing re-assembled SN-PDU to GMM
sgsn_rx_sndcp_ud_ind() can no longer make the assumption that msgb_bcid() is valid, as this is only true for an un-fragmented SN-PDU. So instead, we now store the RAID in the SNDCP Entity and pass it as an explicit argument to sgsn_rx_sndcp_ud_ind().
Diffstat (limited to 'openbsc/src/gprs/gprs_sndcp.h')
-rw-r--r--openbsc/src/gprs/gprs_sndcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_sndcp.h b/openbsc/src/gprs/gprs_sndcp.h
index 6c7c83465..e9a50be1c 100644
--- a/openbsc/src/gprs/gprs_sndcp.h
+++ b/openbsc/src/gprs/gprs_sndcp.h
@@ -33,6 +33,8 @@ enum sndcp_rx_state {
struct gprs_sndcp_entity {
struct llist_head list;
+ /* FIXME: move this RA_ID up to the LLME or even higher */
+ struct gprs_ra_id ra_id;
/* reference to the LLC Entity below this SNDCP entity */
struct gprs_llc_lle *lle;
/* The NSAPI we shall use on top of LLC */