Thread (4 messages) flat view 4 messages, 4 authors, 2021-10-12

Re: [PATCH net] net: dsa: fix spurious error message when unoffloaded port leaves bridge

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-10-12 16:21:05
Also in: lkml

On 10/12/21 4:27 AM, Alvin Šipraga wrote:
From: Alvin Šipraga <redacted>

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 <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help