Vivien Didelot 9c26542685 net: dsa: rollback bridging on error
When an error is returned during the bridging of a port in a
NETDEV_CHANGEUPPER event, net/core/dev.c rolls back the operation.

Be consistent and unassign dp->bridge_dev when this happens.

In the meantime, add comments to document this behavior.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-06 16:53:28 -05:00
..
2017-01-22 16:46:13 -05:00
2016-12-03 23:54:25 -05:00
2017-02-06 16:53:28 -05:00
2016-12-25 17:21:22 +01:00
2017-01-09 11:40:33 +01:00