History

net/ipv6: Introduce accept_unsolicited_na knob to implement router-side changes for RFC9131

Add a new neighbour cache entry in STALE state for routers on receiving an unsolicited (gratuitous) neighbour advertisement with target link-layer-address option specified. This is similar to the arp_accept configuration for IPv4. A new sysctl endpoint is created to turn on this behaviour: /proc/sys/net/ipv6/conf/interface/accept_unsolicited_na.

Arun Ajith S committed 4 years ago

Commit f9a2fb71 parent 0339d257 files · +314 −1Browse files

Showing the changes to include/uapi (1 of 7 files). Show all

Unified · Split

include/uapi/linux/ipv6.h+1−0
@@ -194,6 +194,7 @@ enum { · 193 unmodified lines
194194 DEVCONF_IOAM6_ID,
195195 DEVCONF_IOAM6_ID_WIDE,
196196 DEVCONF_NDISC_EVICT_NOCARRIER,
197+ DEVCONF_ACCEPT_UNSOLICITED_NA,
197198 DEVCONF_MAX
198199 };
199200