diff options
author | Alvin Šipraga <alsi@bang-olufsen.dk> | 2021-10-12 13:27:31 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 01:11:23 +0200 |
commit | 43a4b4dbd48c9006ef64df3a12acf33bdfe11c61 (patch) | |
tree | a287c5a3a997eae33b1f6995178b67e3a3482f61 /include | |
parent | nfp: flow_offload: move flow_indr_dev_register from app init to app start (diff) | |
download | linux-43a4b4dbd48c9006ef64df3a12acf33bdfe11c61.tar.xz linux-43a4b4dbd48c9006ef64df3a12acf33bdfe11c61.zip |
net: dsa: fix spurious error message when unoffloaded port leaves bridge
Flip the sign of a return value check, thereby suppressing the following
spurious error:
port 2 failed to notify DSA_NOTIFIER_BRIDGE_LEAVE: -EOPNOTSUPP
... which is emitted when removing an unoffloaded DSA switch port from a
bridge.
Fixes: d371b7c92d19 ("net: dsa: Unset vlan_filtering when ports leave the bridge")
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211012112730.3429157-1-alvin@pqrs.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions