]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: ignore bogus STP config packets
authorstephen hemminger <shemminger@vyatta.com>
Fri, 22 Jul 2011 07:47:07 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jul 2011 00:01:12 +0000 (17:01 -0700)
commit4ae2dcf18998c71a79f01bb78a07771e893ee2cb
treecb4aa33271758c13924999dd43fc32664f212b1b
parented0c705d10987c55671d92431e95dab014ec0de7
bridge: ignore bogus STP config packets

If the message_age is already greater than the max_age, then the
BPDU is bogus. Linux won't generate BPDU, but conformance tester
or buggy implementation might.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp_bpdu.c