summaryrefslogtreecommitdiff
path: root/nl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nl.c')
-rw-r--r--nl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nl.c b/nl.c
index 99e9aeb..ea7d968 100644
--- a/nl.c
+++ b/nl.c
@@ -397,7 +397,7 @@ int nl_recv(struct nl_sock *sk, struct sockaddr_nl *nla,
flags |= MSG_PEEK;
if (page_size == 0)
- page_size = getpagesize();
+ page_size = getpagesize() * 4;
iov.iov_len = page_size;
iov.iov_base = *buf = malloc(iov.iov_len);