]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
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 d42bbf8c7766 ("net: bridge: Notify
about bridge VLANs").

Since commit 1c5df3f13b2b ("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>

Trivial merge