[Olsr-dev] [PATCH v1 1/8] linux: increase the netlink buffer size

Ferry Huberts (spam-protected)
Tue Aug 19 12:07:45 CEST 2014


From: Ferry Huberts <(spam-protected)>

Mirror what iproute2 does.

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/linux/kernel_routes_nl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linux/kernel_routes_nl.c b/src/linux/kernel_routes_nl.c
index 76dfb0d..8d8e702 100644
--- a/src/linux/kernel_routes_nl.c
+++ b/src/linux/kernel_routes_nl.c
@@ -77,7 +77,7 @@ static void rtnetlink_read(int sock, void *, unsigned int);
 struct olsr_rtreq {
   struct nlmsghdr n;
   struct rtmsg r;
-  char buf[512];
+  char buf[1024];
 };
 
 struct olsr_ipadd_req {
-- 
1.9.3





More information about the Olsr-dev mailing list