mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 08:55:05 +07:00
66e2809dd3
A port is not necessarily assigned to a netdev. And a port does not
need to be a member of a bridge. So when iterating over all ports,
check before using the netdev and bridge_dev for a port. Otherwise we
dereference a NULL pointer.
Fixes:
|
||
---|---|---|
.. | ||
chip.c | ||
global1.c | ||
global1.h | ||
global2.c | ||
global2.h | ||
Kconfig | ||
Makefile | ||
mv88e6xxx.h | ||
port.c | ||
port.h |