]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: vlan: account for router port lists when notifying
authorNikolay Aleksandrov <nikolay@nvidia.com>
Mon, 16 Aug 2021 14:57:05 +0000 (17:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2021 09:37:29 +0000 (10:37 +0100)
commit7b1625e996254be7db01eac7152fa04eb13d6417
tree329481a47e73da443394b9aee3c19d431f3f95e1
parent887a35b5da91d6e3d1746a608a85d91cb3cfd349
net: bridge: vlan: account for router port lists when notifying

When sending a global vlan notification we should account for the number
of router ports when allocating the skb, otherwise we might end up
losing notifications.

Fixes: e2eba5c321ff ("net: bridge: vlan: use br_rports_fill_info() to export mcast router ports")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c
net/bridge/br_private.h
net/bridge/br_vlan_options.c