diff options
Diffstat (limited to 'testing/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch')
-rw-r--r-- | testing/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch b/testing/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch new file mode 100644 index 0000000000..3b8456e664 --- /dev/null +++ b/testing/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch @@ -0,0 +1,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 + |