summaryrefslogtreecommitdiff
path: root/net/ipv4/Makefile
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-05-25 00:43:04 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-29 07:37:30 +0300
commitab84be7e54fc3d9b248285f1a14067558d858819 (patch)
tree4b8c97ce0f45d4f0a0a85b8c27dee1e363b7f4c9 /net/ipv4/Makefile
parent65ee00a9409f751188a8cdc0988167858eb4a536 (diff)
downloadlinux-ab84be7e54fc3d9b248285f1a14067558d858819.tar.xz
net: Initial nexthop code
Barebones start point for nexthops. Implementation for RTM commands, notifications, management of rbtree for holding nexthops by id, and kernel side data structures for nexthops and nexthop config. Nexthops are maintained in an rbtree sorted by id. Similar to routes, nexthops are configured per namespace using netns_nexthop struct added to struct net. Nexthop notifications are sent when a nexthop is added or deleted, but NOT if the delete is due to a device event or network namespace teardown (which also involves device events). Applications are expected to use the device down event to flush nexthops and any routes used by the nexthops. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Makefile')
-rw-r--r--net/ipv4/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile
index 000a61994c8f..d57ecfaf89d4 100644
--- a/net/ipv4/Makefile
+++ b/net/ipv4/Makefile
@@ -14,7 +14,7 @@ obj-y := route.o inetpeer.o protocol.o \
udp_offload.o arp.o icmp.o devinet.o af_inet.o igmp.o \
fib_frontend.o fib_semantics.o fib_trie.o fib_notifier.o \
inet_fragment.o ping.o ip_tunnel_core.o gre_offload.o \
- metrics.o netlink.o
+ metrics.o netlink.o nexthop.o
obj-$(CONFIG_BPFILTER) += bpfilter/