summaryrefslogtreecommitdiff
path: root/package/libs/libnl-tiny/src/nl.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny/src/nl.c')
-rw-r--r--package/libs/libnl-tiny/src/nl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libnl-tiny/src/nl.c b/package/libs/libnl-tiny/src/nl.c
index 99e9aeb..ea7d968 100644
--- a/package/libs/libnl-tiny/src/nl.c
+++ b/package/libs/libnl-tiny/src/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);