[Bridge] [PATCH net] bridge: Fix error path in nbp_vlan_init

David Miller davem at davemloft.net
Wed Mar 1 22:56:20 UTC 2017


From: Yotam Gigi <yotamg at mellanox.com>
Date: Wed,  1 Mar 2017 16:50:45 +0200

> Fix error path order in nbp_vlan_init, so if switchdev_port_attr_set
> call failes, the vlan_hash wouldn't be destroyed before inited.
> 
> Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support")
> CC: Roopa Prabhu <roopa at cumulusnetworks.com>
> Signed-off-by: Yotam Gigi <yotamg at mellanox.com>

Applied, thanks.


More information about the Bridge mailing list