]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4911343941f3e3bd6ec4cdd79a3668d6e987380
treec617fbaf00b02a69b164aed1b79a277c95481e99
parentf6ef423058fb6cf3ab211cc103376ac3c5dcf550
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