aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */