]> Git Repo - linux.git/commit
net: bridge: Notify about bridge VLANs
authorPetr Machata <[email protected]>
Wed, 30 May 2018 01:00:45 +0000 (03:00 +0200)
committerDavid S. Miller <[email protected]>
Thu, 31 May 2018 18:13:44 +0000 (14:13 -0400)
commit9c86ce2c1ae337fc10568a12aea812ed03de8319
tree894ecca9ea6eb719e2d569086938ef8b7fa6439f
parenta73bceb86df8f1e007b7f7691d7e38bb29601943
net: bridge: Notify about bridge VLANs

A driver might need to react to changes in settings of brentry VLANs.
Therefore send switchdev port notifications for these as well. Reuse
SWITCHDEV_OBJ_ID_PORT_VLAN for this purpose. Listeners should use
netif_is_bridge_master() on orig_dev to determine whether the
notification is about a bridge port or a bridge.

Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/bridge/br_vlan.c
This page took 0.057174 seconds and 4 git commands to generate.