aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2020-08-31 15:30:45 +0300
committerDmitry Vyukov <dvyukov@google.com>2020-09-22 10:12:23 +0200
commitf7907acd76a744261067bc4613efd389ce7648ed (patch)
tree35b619895a4edb94c7cde16df4f60d8086811d96 /executor/common_linux.h
parenteb2b629d3cd9c9d366811c4c954baf55afceb8eb (diff)
executor/common_linux.h: increase default nlmsg buffer size
1024 bytes are not enough to contain an arbirary 802.11 MAC frame together with netlink protocol overhead.
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index 2c45387d8..04a8c35b5 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -128,7 +128,7 @@ struct nlmsg {
char* pos;
int nesting;
struct nlattr* nested[8];
- char buf[1024];
+ char buf[4096];
};
static struct nlmsg nlmsg;