net: bridge: check __vlan_vid_del for error
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sun, 6 Sep 2015 01:27:57 +0000 (21:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2015 05:28:45 +0000 (22:28 -0700)
commitbf361ad38165939049a2649b1a0078f3268d4bd1
treecd5ba4177af6ec40455199e8e7df4444a2fd37bd
parent39797a279d62972cd914ef580fdfacb13e508bf8
net: bridge: check __vlan_vid_del for error

Since __vlan_del can return an error code, change its inner function
__vlan_vid_del to return an eventual error from switchdev_port_obj_del.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c