aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-03-03 17:42:49 +0200
committerJakub Kicinski <[email protected]>2022-03-03 08:39:12 -0800
commite1bec7fa1cee311a6d3fb9161037c7675904134d (patch)
treef49f30d6e5be6f5851e16d0bd4a2d2c2bc03a097 /net/switchdev/switchdev.c
parent6c7273a266759d9d36f7c862149f248bcdeddc0f (diff)
net: dsa: make dsa_tree_change_tag_proto actually unwind the tag proto change
The blamed commit said one thing but did another. It explains that we should restore the "return err" to the original "goto out_unwind_tagger", but instead it replaced it with "goto out_unlock". When DSA_NOTIFIER_TAG_PROTO fails after the first switch of a multi-switch tree, the switches would end up not using the same tagging protocol. Fixes: 0b0e2ff10356 ("net: dsa: restore error path of dsa_tree_change_tag_proto") Signed-off-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions