ipv4: add support for linkdown sysctl to netconf
authorAndy Gospodarek <gospo@cumulusnetworks.com>
Tue, 7 Jul 2015 17:56:57 +0000 (13:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jul 2015 06:34:53 +0000 (23:34 -0700)
This kernel patch exports the value of the new
ignore_routes_with_linkdown via netconf.

v2: changes to notify userspace via netlink when sysctl values change
and proposed for 'net' since this could be considered a bugfix

Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Suggested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/netconf.h
net/ipv4/devinet.c

index 669a1f0..23cbd34 100644 (file)
@@ -15,6 +15,7 @@ enum {
        NETCONFA_RP_FILTER,
        NETCONFA_MC_FORWARDING,
        NETCONFA_PROXY_NEIGH,
+       NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
        __NETCONFA_MAX
 };
 #define NETCONFA_MAX   (__NETCONFA_MAX - 1)
Simple merge