mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08: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 |