linux/net
Nikolay Aleksandrov 9e83425993 net: rtnetlink: add NLM_F_BULK support to rtnl_fdb_del
When NLM_F_BULK is specified in a fdb del message we need to handle it
differently. First since this is a new call we can strictly validate the
passed attributes, at first only ifindex and vlan are allowed as these
will be the initially supported filter attributes, any other attribute
is rejected. The mac address is no longer mandatory, but we use it
to error out in older kernels because it cannot be specified with bulk
request (the attribute is not allowed) and then we have to dispatch
the call to ndo_fdb_del_bulk if the device supports it. The del bulk
callback can do further validation of the attributes if necessary.

Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-04-13 12:46:26 +01:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bpf
bpfilter
bridge net: bridge: add support for host l2 mdb entries 2022-04-12 10:06:53 +02:00
caif
can
ceph
core net: rtnetlink: add NLM_F_BULK support to rtnl_fdb_del 2022-04-13 12:46:26 +01:00
dcb
dccp net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
decnet
dns_resolver
dsa
ethernet
ethtool
hsr
ieee802154 net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
ife
ipv4 fou: Remove XRFM from NET_FOU Kconfig 2022-04-12 14:56:33 -07:00
ipv6 ipv6: exthdrs: use swap() instead of open coding it 2022-04-13 12:20:58 +01:00
iucv
kcm
key
l2tp net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
l3mdev
lapb
llc
mac80211
mac802154
mctp
mpls
mptcp net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
ncsi
netfilter
netlabel
netlink
netrom
nfc NFC: NULL out the dev->rfkill to prevent UAF 2022-04-13 12:22:05 +01:00
nsh
openvswitch
packet
phonet net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
psample
qrtr
rds
rfkill
rose
rxrpc
sched
sctp net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
smc
strparser
sunrpc net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
switchdev
tipc
tls tls: rx: only copy IV from the packet for TLS 1.2 2022-04-13 11:45:39 +01:00
unix net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
vmw_vsock
wireless
x25
xdp
xfrm net: remove noblock parameter from recvmsg() entities 2022-04-12 15:00:25 +02:00
compat.c
devres.c
Kconfig
Kconfig.debug
Makefile
socket.c
sysctl_net.c