diff options
author | Sorin Dumitru <sorin@returnze.ro> | 2015-05-27 22:16:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-30 17:37:44 -0700 |
commit | 8133534c760d4083f79d2cde42c636ccc0b2792e (patch) | |
tree | e5b1cf4bad2044293fa616dd4aa33d39202e6fb9 /drivers/net/hyperv/netvsc_drv.c | |
parent | 5befa5e8ad804574520818da6faae9010e2e8590 (diff) | |
download | blackbird-obmc-linux-8133534c760d4083f79d2cde42c636ccc0b2792e.tar.gz blackbird-obmc-linux-8133534c760d4083f79d2cde42c636ccc0b2792e.zip |
net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN
This is similar to b1cb59cf2efe(net: sysctl_net_core: check SNDBUF
and RCVBUF for min length). I don't think too small values can cause
crashes in the case of udp and tcp, but I've seen this set to too
small values which triggered awful performance. It also makes the
setting consistent across all the wmem/rmem sysctls.
Signed-off-by: Sorin Dumitru <sdumitru@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions