libnl-tiny: use fixed message size instead of using the page size
[project/libnl-tiny.git] / src / msg.c
index e84c281fc91ce01f468e95b52ece82f076249648..b502047c4c7464ee8ccb057a041f9625fa32f09a 100644 (file)
--- a/src/msg.c
+++ b/src/msg.c
 #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