aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-11-07 00:29:27 -0800
committerNathan Chancellor <natechancellor@gmail.com>2018-04-28 00:23:00 -0700
commit9e747175f44e8e3a89f1e848c7934a0a7a6a00d2 (patch)
tree29d0e4c82fe6ef57ae87e8154d721cb0ebd990d2 /net/lapb/lapb_timer.c
parentb72ab4e5ebe071a2931cead52242068adb0130fc (diff)
UPSTREAM: 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> (cherry picked from commit a3dcaf17ee54f1d01d22cc2b22cab0b4f60d78cf) BUG=b:73972012 TEST=Run tcp tx throughput test Change-Id: Icbeaff9de4e740adb3b045fb44a445bcb9e7d094 Signed-off-by: Grant Grundler <grundler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/987018 Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions