]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bridge: set priority of STP packets
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Feb 2013 08:22:22 +0000 (08:22 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 14:59:05 +0000 (06:59 -0800)
commit6e95f970d1cb6801b5f26d2c167fb1e0ad6c5dba
tree478d6b2bc46eba7e68ffcfe3054cac491f404eea
parenta9115fba99247ad51211beb3ffd23b6553c80ee9
bridge: set priority of STP packets

[ Upstream commit 547b4e718115eea74087e28d7fa70aec619200db ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/br_stp_bpdu.c