diff options
Diffstat (limited to 'package/libs')
-rw-r--r-- | package/libs/libnl-tiny/Makefile | 2 | ||||
-rw-r--r-- | package/libs/libnl-tiny/src/nl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/libnl-tiny/Makefile b/package/libs/libnl-tiny/Makefile index b3957b0b14..2445ad440b 100644 --- a/package/libs/libnl-tiny/Makefile +++ b/package/libs/libnl-tiny/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnl-tiny PKG_VERSION:=0.1 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_LICENSE:=LGPL-2.1 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org> 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); |