]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc3f0eadc19ad8c7e5743113e47c7b48359fe130
tree5d5482f0ba9d5b738c13663e5e82fd7ad6e02bbe
parent7b74b4517f6742816ff44197cc2ed2d2612dbcbb
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