aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch
blob: 3b8456e664d467792c03affe90657a4a25227b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 6df459de208c7f148f2c0f06b0712ea1708ed614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Wed, 10 Feb 2016 22:57:13 +0100
Subject: [PATCH 1/4] Revert "nldev: set kernel buffer to 16kb"

This reverts commit 025a4aef1a05cf523fbdf98ed71fd2e7b902d7fd.
---
 nldev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nldev.c b/nldev.c
index 018ed86..9153fd2 100644
--- a/nldev.c
+++ b/nldev.c
@@ -161,7 +161,7 @@ init_netlink_socket(void)
 	if (fd < 0)
 		edie("socket");
 
-	slen = 16*1024;
+	slen = 128*1024*1024;
 	if (setsockopt(fd, SOL_SOCKET, SO_RCVBUFFORCE, &slen,
 				sizeof(slen)) < 0) {
 		edie("setsockopt");
-- 
2.7.2