[PATCH 6.7 582/641] net: dsa: fix netdev_priv() dereference before check on non-DSA netdevice events