mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 10:59:05 +00: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 |