commit | e4860d7c487f84ae4893684f48e385a72efc1677 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed May 19 15:38:10 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed May 19 15:38:10 2010 +0200 |
tree | e476cd1af45d5c1772cc11a2b943b9f343b0a133 | |
parent | 3c2a88dfe4929b90f15750afcc1b7b7226cfdae6 [diff] [blame] |
[GPRS] NS: Make sure we allocate NS packet with headroom for FR/GRE
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 11e8d88..13ceb73 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c
@@ -124,7 +124,7 @@ { struct msgb *new_msg; - new_msg = msgb_alloc(msg->data_len, name); + new_msg = msgb_alloc_headroom(msg->data_len, NS_ALLOC_HEADROOM, name); if (!new_msg) return NULL;