aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny')
-rw-r--r--package/libs/libnl-tiny/src/msg.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/libs/libnl-tiny/src/msg.c b/package/libs/libnl-tiny/src/msg.c
index e84c281fc9..b502047c4c 100644
--- a/package/libs/libnl-tiny/src/msg.c
+++ b/package/libs/libnl-tiny/src/msg.c
@@ -166,12 +166,7 @@
#include <netlink/msg.h>
#include <linux/socket.h>
-static size_t default_msg_size;
-
-static void __init init_msg_size(void)
-{
- default_msg_size = getpagesize();
-}
+static size_t default_msg_size = 4096;
/**
* @name Attribute Access