diff options
author | Eric Dumazet <edumazet@google.com> | 2017-11-07 09:29:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-10 06:34:58 +0100 |
commit | a3dcaf17ee54f1d01d22cc2b22cab0b4f60d78cf (patch) | |
tree | ead847c4636ae85b77a1a415b53b8bf737000f4e /net/ipv4 | |
parent | net: dsa: Don't add vlans when vlan filtering is disabled (diff) | |
download | linux-a3dcaf17ee54f1d01d22cc2b22cab0b4f60d78cf.tar.xz linux-a3dcaf17ee54f1d01d22cc2b22cab0b4f60d78cf.zip |
net: allow per netns sysctl_rmem and sysctl_wmem for protos
As we want to gradually implement per netns sysctl_rmem and sysctl_wmem
on per protocol basis, add two new fields in struct proto,
and two new helpers : sk_get_wmem0() and sk_get_rmem0()
First user will be TCP. Then UDP and SCTP can be easily converted,
while DECNET probably wont get this support.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions