summaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Expand)AuthorFilesLines
2013-05-21misc: Ignore files generated by cscope/ctagsTobias Klauser1-0/+4
2013-05-05misc: move file to source rootDaniel Borkmann1-1/+1
2013-03-15build: add make release targetDaniel Borkmann1-0/+3
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+42
t/tree/?h=nds-private-remove&id=9c26542685130ef3b55cdb4e04eec0ac33376b41'>46a9c7f7c66783b327f287abbdacb7592acb1891 parent8e92ab3a426e04dc355b196e3b4474f633025a3b (diff)
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
-rw-r--r--net/dsa/slave.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c