diff options
author | Vladimir Oltean <[email protected]> | 2021-04-21 21:44:20 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-21 13:13:33 -0700 |
commit | 68f5c12abbc9b6f8c5eea16c62f8b7be70793163 (patch) | |
tree | 7bcee390a4c102fd2484379e0930be37d82628cc /scripts/gdb/vmlinux-gdb.py | |
parent | 36e69da892f1224dabc4a5d0a5948764c318b117 (diff) |
net: bridge: fix error in br_multicast_add_port when CONFIG_NET_SWITCHDEV=n
When CONFIG_NET_SWITCHDEV is disabled, the shim for switchdev_port_attr_set
inside br_mc_disabled_update returns -EOPNOTSUPP. This is not caught,
and propagated to the caller of br_multicast_add_port, preventing ports
from joining the bridge.
Reported-by: Christian Borntraeger <[email protected]>
Fixes: ae1ea84b33da ("net: bridge: propagate error code and extack from br_mc_disabled_update")
Signed-off-by: Vladimir Oltean <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions