netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Make neighbor eviction controllable by userspace
@ 2021-10-15 20:06 James Prestwood
  2021-10-15 20:06 ` [PATCH v3] net: neighbour: introduce EVICT_NOCARRIER table option James Prestwood
  0 siblings, 1 reply; 4+ messages in thread
From: James Prestwood @ 2021-10-15 20:06 UTC (permalink / raw)
  To: netdev
  Cc: James Prestwood, David S . Miller, Jakub Kicinski,
	Jonathan Corbet, Hideaki YOSHIFUJI, David Ahern, Roopa Prabhu,
	Daniel Borkmann, Vladimir Oltean, Ido Schimmel,
	Nikolay Aleksandrov, Chinmay Agarwal, Yajun Deng, Tong Zhu,
	Johannes Berg, Jouni Malinen

v1 -> v2:

 - It was suggested by Daniel Borkmann to extend the neighbor table settings
   rather than adding IPv4/IPv6 options for ARP/NDISC separately. I agree
   this way is much more concise since there is now only one place where the
   option is checked and defined.
 - Moved documentation/code into the same patch
 - Explained in more detail the test scenario and results

v2 -> v3:

 - Renamed 'skip_perm' to 'nocarrier'. The way this parameter is used
   matches this naming.
 - Changed logic to still flush if 'nocarrier' is false.

James Prestwood (1):
  net: neighbour: introduce EVICT_NOCARRIER table option

 Documentation/networking/ip-sysctl.rst |  9 +++++++++
 include/net/neighbour.h                |  5 +++--
 include/uapi/linux/neighbour.h         |  1 +
 net/core/neighbour.c                   | 12 ++++++++++--
 net/ipv4/arp.c                         |  1 +
 net/ipv6/ndisc.c                       |  1 +
 6 files changed, 25 insertions(+), 4 deletions(-)

Cc: David S. Miller <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: David Ahern <dsahern@kernel.org>
Cc: Roopa Prabhu <roopa@nvidia.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: Ido Schimmel <idosch@nvidia.com>
Cc: Nikolay Aleksandrov <nikolay@nvidia.com>
Cc: Chinmay Agarwal <chinagar@codeaurora.org>
Cc: Yajun Deng <yajun.deng@linux.dev>
Cc: Tong Zhu <zhutong@amazon.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Jouni Malinen <jouni@codeaurora.org>

-- 
2.31.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-18 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-15 20:06 [PATCH v2 0/1] Make neighbor eviction controllable by userspace James Prestwood
2021-10-15 20:06 ` [PATCH v3] net: neighbour: introduce EVICT_NOCARRIER table option James Prestwood
2021-10-16 11:12   ` Nikolay Aleksandrov
2021-10-18 16:27     ` James Prestwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).