]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit9ce33e46531d4b9f94b0fa135781e27c7c4e32e8
treebc18c132cdc706b70ca1f77b38f0a8fd670d8660
parent0aef78aa7b39829a2a46c1c0e6e96276d744e07a
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