summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Georgievski <gdamjan@gmail.com>2012-08-15 00:54:38 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-15 00:54:08 +0200
commit0c80f9ead3eb1d938b3e8e68165c91e62db72de3 (patch)
treef9ebe2cbd327b52a6f3ff5751ff58d4284e24785
parent4b06972e67e206a2766200b1da278b5ab31d6dea (diff)
Fix issue: NETLINK: Packet too small or truncated! 92!=16!=244HEADmaster
As reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514197#22
-rw-r--r--src/nlrequest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nlrequest.c b/src/nlrequest.c
index 99fd3d0..3a1f794 100644
--- a/src/nlrequest.c
+++ b/src/nlrequest.c
@@ -44,7 +44,7 @@ int netlink_request(int s, struct nlmsghdr *n, int (*callback) (struct nlmsghdr
for (;;) {
int bytes;
- char replybuf[2048];
+ char replybuf[4096];
struct nlmsghdr *p = (struct nlmsghdr *) replybuf;
if ((bytes = recv(s, &replybuf, sizeof(replybuf), 0)) < 0) {