nexthop: add support for notifiers
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 22 May 2020 05:26:15 +0000 (22:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 21:00:38 +0000 (14:00 -0700)
commit8590ceedb70181ad9de5a3dc2cfe50ca33a9576a
tree5d5482f0ba9d5b738c13663e5e82fd7ad6e02bbe
parent1274e1cc42264d4e629841e4f182795cb0becfd2
nexthop: add support for notifiers

This patch adds nexthop add/del notifiers. To be used by
vxlan driver in a later patch. Could possibly be used by
switchdev drivers in the future.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/nexthop.h
include/net/nexthop.h
net/ipv4/nexthop.c