bridge: Propagate vlan add failure to user
authorElad Raz <eladr@mellanox.com>
Wed, 6 Jan 2016 12:01:04 +0000 (13:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jan 2016 19:42:40 +0000 (14:42 -0500)
commit08474cc1e6ea71237cab7e4a651a623c9dea1084
treef2e0b8924e821aaaf830fc7bc5deb420813bd981
parent00ce3a15d811978fcb204a1a3f5f8c059096fa5e
bridge: Propagate vlan add failure to user

Disallow adding interfaces to a bridge when vlan filtering operation
failed. Send the failure code to the user.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c