diff options
author | 2017-02-03 13:20:18 -0500 | |
---|---|---|
committer | 2017-02-06 16:53:28 -0500 | |
commit | 9c26542685130ef3b55cdb4e04eec0ac33376b41 (patch) | |
tree | 46a9c7f7c66783b327f287abbdacb7592acb1891 /net/dsa/dsa.c | |
parent | net: dsa: simplify netdevice events handling (diff) | |
download | wireguard-linux-9c26542685130ef3b55cdb4e04eec0ac33376b41.tar.xz wireguard-linux-9c26542685130ef3b55cdb4e04eec0ac33376b41.zip |
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>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions