mirror of https://gitee.com/openkylin/linux.git
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
chip.c | ||
global1.c | ||
global1.h | ||
global2.c | ||
global2.h | ||
mv88e6xxx.h | ||
port.c | ||
port.h |