aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-19 15:38:10 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-19 15:38:10 +0200
commite4860d7c487f84ae4893684f48e385a72efc1677 (patch)
treee476cd1af45d5c1772cc11a2b943b9f343b0a133 /openbsc/src/gprs/gb_proxy.c
parent3c2a88dfe4929b90f15750afcc1b7b7226cfdae6 (diff)
[GPRS] NS: Make sure we allocate NS packet with headroom for FR/GRE
Diffstat (limited to 'openbsc/src/gprs/gb_proxy.c')
-rw-r--r--openbsc/src/gprs/gb_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 11e8d887a..13ceb7383 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -124,7 +124,7 @@ static struct msgb *msgb_copy(const struct msgb *msg, const char *name)
{
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;