]> git.baikalelectronics.ru Git - kernel.git/commit
net: neighbor: add fdb extended attribute
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 23 Jun 2020 20:47:16 +0000 (23:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 21:36:33 +0000 (14:36 -0700)
commit8e20abed12df60a01a6fa3d86b11040efd7d57c2
tree958d1a9702d3789b62405ee285a11094ace07414
parent46bc784bf25bace6c7e43d729982d0e7af93993e
net: neighbor: add fdb extended attribute

Add an attribute to NDA which will contain all future fdb-specific
attributes in order to avoid polluting the NDA namespace with e.g.
bridge or vxlan specific attributes. The attribute is called
NDA_FDB_EXT_ATTRS and the structure would look like:
 [NDA_FDB_EXT_ATTRS] = {
    [NFEA_xxx]
 }

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/neighbour.h
net/core/neighbour.c