diff options
author | Oleksij Rempel <[email protected]> | 2021-04-21 15:05:40 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-21 10:47:27 -0700 |
commit | 70a7c484c7c3eaa17b679db2c74ec8ecbe8dc0e8 (patch) | |
tree | 52360aea460d2c5bf9403f624b3ab723b42097f6 /scripts/gdb/vmlinux-gdb.py | |
parent | 53e35ebb9a17fd953d9b8fe059aaf4282fa524f2 (diff) |
net: dsa: fix bridge support for drivers without port_bridge_flags callback
Starting with patch:
a8b659e7ff75 ("net: dsa: act as passthrough for bridge port flags")
drivers without "port_bridge_flags" callback will fail to join the bridge.
Looking at the code, -EOPNOTSUPP seems to be the proper return value,
which makes at least microchip and atheros switches work again.
Fixes: 5961d6a12c13 ("net: dsa: inherit the actual bridge port flags at join time")
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Florian Fainelli <[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