Skip to content
Snippets Groups Projects
Commit 0a6d58a7 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: dsa: uninitialized variable in dsa_slave_netdevice_event()


Return zero if both dsa_slave_dev_check() and netdev_uses_dsa() are false.

Fixes: acc43b7b ("net: dsa: allow masters to join a LAG")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9408f3d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment