mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00: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:
|
History
|
|
|---|---|---|
| .. | ||
| b53 | ||
| mv88e6xxx | ||
| bcm_sf2.c | ||
| bcm_sf2.h | ||
| bcm_sf2_regs.h | ||
| Kconfig | ||
| Makefile | ||
| mv88e6060.c | ||
| mv88e6060.h | ||
| qca8k.c | ||
| qca8k.h | ||