net: rtnetlink: add ndm flags and state mask attributes
authorNikolay Aleksandrov <razor@blackwall.org>
Wed, 13 Apr 2022 10:52:00 +0000 (13:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 11:46:26 +0000 (12:46 +0100)
commitea2c0f9e3fc2f94f090d693b7235c02af1289629
treec617fbaf00b02a69b164aed1b79a277c95481e99
parent1f78ee14eeac03952ec765cea7ce23cbf12d6894
net: rtnetlink: add ndm flags and state mask attributes

Add ndm flags/state masks which will be used for bulk delete filtering.
All of these are used by the bridge and vxlan drivers. Also minimal attr
policy validation is added, it is up to ndo_fdb_del_bulk implementers to
further validate them.

Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/neighbour.h
net/core/rtnetlink.c