]> git.ipfire.org Git - people/ms/rstp.git/commit
Fix null pointer dereference in bridge_bpdu_rcv
authorAlexander Yurchenko <a.yurchenko@scalaxy.ru>
Fri, 19 Feb 2010 09:26:34 +0000 (12:26 +0300)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Sun, 28 Mar 2010 22:56:38 +0000 (15:56 -0700)
commitb79b9a98650cd8018141874d2a5e59c1cd78ea3c
treeda76a9baf0d1ee3aac1536ffa89a49c4043a9aab
parent18da741b5f843f196b7a1ba8d85da8506a1a58f6
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 <a.yurchenko@scalaxy.ru>
bridge_track.c