]> git.baikalelectronics.ru Git - kernel.git/commit
neighbour: support for NTF_EXT_LEARNED flag
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 24 Apr 2018 20:49:34 +0000 (13:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Apr 2018 17:19:59 +0000 (13:19 -0400)
commit7659bf20e13d9fdbabe035c580d531f823da30dd
treebc18c132cdc706b70ca1f77b38f0a8fd670d8660
parent0e096cf69193839b01d39051bfc8e9fdfde99b02
neighbour: support for NTF_EXT_LEARNED flag

This patch extends NTF_EXT_LEARNED support to the neighbour system.
Example use-case: An Ethernet VPN implementation (eg in FRR routing suite)
can use this flag to add dynamic reachable external neigh entires
learned via control plane. The use of neigh NTF_EXT_LEARNED in this
patch is consistent with its use with bridge and vxlan fdb entries.

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