diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-19 15:38:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-19 15:38:10 +0200 |
commit | e4860d7c487f84ae4893684f48e385a72efc1677 (patch) | |
tree | e476cd1af45d5c1772cc11a2b943b9f343b0a133 /openbsc/src/gprs/gb_proxy.c | |
parent | 3c2a88dfe4929b90f15750afcc1b7b7226cfdae6 (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.c | 2 |
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; |