]> 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)
commit3447303091b84e70881e7d16412c143085057a48
treecb4aa33271758c13924999dd43fc32664f212b1b
parent9189b8a223017109bb1727b66043ee4983278b00
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