aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-01 12:05:33 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-01 19:51:50 +0100
commit58185e6df5666ebd31bd7581466f3de9bb8af190 (patch)
treebf064af4bb9f5f2c76dcfab3273824f2eaecee82
parent7af93aacbae643349739df4da228b4980b22b9bd (diff)
fixup dpl
-rw-r--r--src/diag_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diag_io.c b/src/diag_io.c
index 3e6a9df..3589678 100644
--- a/src/diag_io.c
+++ b/src/diag_io.c
@@ -30,7 +30,7 @@
struct msgb *msgb_alloc_diag(void)
{
- return msgb_alloc(DIAG_MAX_REQ_SIZE, "DIAG Tx");
+ return msgb_alloc_headroom(DIAG_MAX_REQ_SIZE+16, 16, "DIAG Tx");
}
/* transmit a msgb containing a DIAG message over the given fd */