aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny/src
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny/src')
-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 99e9aebeba..ea7d96898b 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);