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)
commit0652cac22ce3fa0c90e35d0a2862969fc394cb02
treecb4aa33271758c13924999dd43fc32664f212b1b
parent0c03150e7ea8f7fcd03cfef29385e0010b22ee92
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