mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||