[Bridge] [PATCH net-next] net: dsa: fix added_by_user switchdev notification

David Miller davem at davemloft.net
Thu May 10 19:27:19 UTC 2018


From: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
Date: Tue,  8 May 2018 23:03:12 -0400

> Commit 161d82de1ff8 ("net: bridge: Notify about !added_by_user FDB
> entries") causes the below oops when bringing up a slave interface,
> because dsa_port_fdb_add is still scheduled, but with a NULL address.
> 
> To fix this, keep the dsa_slave_switchdev_event function agnostic of the
> notified info structure and handle the added_by_user flag in the
> specific dsa_slave_switchdev_event_work function.
 ...
> Fixes: 816a3bed9549 ("switchdev: Add fdb.added_by_user to switchdev notifications")
> Signed-off-by: Vivien Didelot <vivien.didelot at savoirfairelinux.com>

Applied, thanks Vivien.


More information about the Bridge mailing list