]> 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)
commit4bfbbca8f2248ff21bbe0a0bbe3c9bd56ddf541f
treebc18c132cdc706b70ca1f77b38f0a8fd670d8660
parentdcabdb5733d3fb83d528b2eb8499abf216bfaea9
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