]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bridge: set priority of STP packets
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Feb 2013 08:22:22 +0000 (08:22 +0000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 10 Feb 2014 21:10:54 +0000 (16:10 -0500)
commit3f59f82650136ab39b7998439750199a747781e5
treeb873e0ef93549b349daf8642666ece2b9b54e958
parent7a2fc86bccc5b4b48957a9d4d7abf92634fcf1f1
bridge: set priority of STP packets

commit 547b4e718115eea74087e28d7fa70aec619200db upstream.

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: Paul Gortmaker <paul.gortmaker@windriver.com>
net/bridge/br_stp_bpdu.c