diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-06-09 20:49:24 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-10 15:15:42 +0200 |
commit | 5914bad40ba49cdf39a72cf8db5b492ca318cd38 (patch) | |
tree | 6d06f2214c36f859c30d3adf7dd5a4ce607d7bb8 /openbsc/src/gprs | |
parent | efbdee9a5c9f511ea8f5b928e4f7076120ba587b (diff) |
[grps] Fix GTP data_ind call back message creation
We'll need to push data both before and after, so make sure there
is both headroom & tailroom
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r-- | openbsc/src/gprs/sgsn_libgtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c index a28790a0f..b5560db0a 100644 --- a/openbsc/src/gprs/sgsn_libgtp.c +++ b/openbsc/src/gprs/sgsn_libgtp.c @@ -373,7 +373,7 @@ static int cb_data_ind(struct pdp_t *lib, void *packet, unsigned int len) } mm = pdp->mm; - msg = msgb_alloc_headroom(len+128, 128, "GTP->SNDCP"); + msg = msgb_alloc_headroom(len+256, 128, "GTP->SNDCP"); ud = msgb_put(msg, len); memcpy(ud, packet, len); |