summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2017-02-09 21:15:26 -0800
committerThomas Haller <thaller@redhat.com>2017-02-27 14:15:15 +0100
commit9b22e310cec08e8a89f7e05dc7b69fa20085034c (patch)
tree48baa38797e252be78a2d6ff13b184c0d873f1ef /include
parenteabd9f2334aee545fc7656966762d999a727d735 (diff)
downloadlibnl-9b22e310cec08e8a89f7e05dc7b69fa20085034c.tar.gz
route: neigh: use NDA_MASTER for neigh->n_master if available
fdb cache is per bridge and hence hashed by: <bridge_ifindex, family, mac> newer kernels send bridge ifindex in NDA_MASTER. Use NDA_MASTER for neigh->n_master when available. Also imports a few more NDA_* attributes from upstream to keep linux/neighbour.h NDA_* attributes in sync with upstream. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux-private/linux/neighbour.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux-private/linux/neighbour.h b/include/linux-private/linux/neighbour.h
index 969f352c..641392ed 100644
--- a/include/linux-private/linux/neighbour.h
+++ b/include/linux-private/linux/neighbour.h
@@ -21,6 +21,10 @@ enum {
NDA_CACHEINFO,
NDA_PROBES,
NDA_VLAN,
+ NDA_PORT,
+ NDA_VNI,
+ NDA_IFINDEX,
+ NDA_MASTER,
__NDA_MAX
};