# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/10/1539240
- Thread: https://ratatoskr.run/netdev/2021/10/1538928/t.md

```text
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
```
