Fix null pointer dereference in bridge_bpdu_rcv

Check that the interface on which bpdu was received is actually
a bridge port. It's possible to receive an STP packet on
a bridge interface itself if the bridge has STP disabled
and forwards STP traffic.

Signed-off-by: Alexander Yurchenko <[email protected]>
1 file changed
OSZAR »