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)
commit547b4e718115eea74087e28d7fa70aec619200db
tree0e5b250f09d517e55173194527651c9fa64ba6bd
parentcfa82e020bc0be6ab9a1e3c186fe41f1e5cecf7a
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