]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: set priority of STP packets
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Feb 2013 08:22:22 +0000 (08:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Feb 2013 19:16:52 +0000 (14:16 -0500)
commit6b117c2cc8c85105024bffe3ab0fa334bc5eba62
tree0e5b250f09d517e55173194527651c9fa64ba6bd
parent3793b7737b88ac4fddd7114da8954c7ebc3816bb
bridge: set priority of STP packets

Spanning Tree Protocol packets should have always been marked as
control packets, this causes them to get queued in the high prirority
FIFO. As Radia Perlman mentioned in her LCA talk, STP dies if bridge
gets overloaded and can't communicate. This is a long-standing bug back
to the first versions of Linux bridge.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp_bpdu.c