Re: [PATCH net-next v4 7/8] net: bridge: Notify about bridge VLANs
From: Nikolay Aleksandrov <hidden>
Date: 2018-05-30 15:58:16
Also in:
bridge
From: Nikolay Aleksandrov <hidden>
Date: 2018-05-30 15:58:16
Also in:
bridge
On 30/05/18 04:00, Petr Machata wrote:
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 <redacted> --- net/bridge/br_vlan.c | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-)
LGTM, Reviewed-by: Nikolay Aleksandrov <redacted>