Skip to content

Namespacify inet_peer_* sysctl knobs

Nikolay Borisov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4inetpeer: Add net namespace assosication in inet_peer_baseinclude/net/inetpeer.h net/ipv4/route.c+2 -00 replies
2/4inetpeer: Namespacify inet_peer_maxttl sysctl knobinclude/net/ip.h include/net/netns/ipv4.h net/ipv4/inetpeer.c +1 more+11 -90 replies
3/4inetpeer: Namespacify inet_peer_minttl sysctl knobinclude/net/ip.h include/net/netns/ipv4.h net/ipv4/inetpeer.c +1 more+10 -90 replies
4/4inetpeer: Namespacify inet_peer_threshold sysctl knobinclude/net/ip.h include/net/netns/ipv4.h net/ipv4/inetpeer.c +1 more+14 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Namespacify inet_peer_* sysctl knobs

This series make the inet_peer ttl sysctls to be namespace aware.

Patch 1 adds a namespace association to the inet_peer_base struct, which in turn is used to make the sysctls namespace aware. The rest of the patches are straightforward.

Nikolay Borisov (4):
inetpeer: Add net namespace assosication in inet_peer_base
inetpeer: Namespacify inet_peer_maxttl sysctl knob
inetpeer: Namespacify inet_peer_minttl sysctl knob
inetpeer: Namespacify inet_peer_threshold sysctl knob

 include/net/inetpeer.h     |  1 +
 include/net/ip.h           |  5 -----
 include/net/netns/ipv4.h   |  4 ++++
 net/ipv4/inetpeer.c        | 15 ++++++---------
 net/ipv4/route.c           |  1 +
 net/ipv4/sysctl_net_ipv4.c | 47 ++++++++++++++++++++++++----------------------
 6 files changed, 37 insertions(+), 36 deletions(-)
Signature · 1 line
2.5.0