[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>
This commit is contained in:
parent
efbdee9a5c
commit
5914bad40b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue