OSDN Git Service

Merge branch 'switchdev-BRENTRY'
authorDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2022 14:17:10 +0000 (14:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2022 14:17:10 +0000 (14:17 +0000)
commitd54f16c7fa3bc350b07049e0c0046c59bcbe7c3e
treee65d61d02a94c001dd9806f9bcf4ebe4cdb86896
parent5da1033b9e2bfda5a5be2537e34b1fd0ea74cf44
parent5edb65eac10fdf4279b5e28a6c18d720cdc215e1
Merge branch 'switchdev-BRENTRY'

Vladimir Oltean says:

====================
kRemove BRENTRY checks from switchdev drivers

As discussed here:
https://patchwork.kernel.org/project/netdevbpf/patch/20220214233111.1586715-2-vladimir.oltean@nxp.com/#24738869

no switchdev driver makes use of VLAN port objects that lack the
BRIDGE_VLAN_INFO_BRENTRY flag. Notifying them in the first place rather
seems like an omission of commit 9c86ce2c1ae3 ("net: bridge: Notify
about bridge VLANs").

Since commit 3116ad0696dd ("net: bridge: vlan: don't notify to switchdev
master VLANs without BRENTRY flag") that was just merged, the bridge no
longer notifies switchdev upon creation of these VLANs, so we can remove
the checks from drivers.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>