]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "bridge: Allow forward delay to be cfgd when STP enabled"
authorVlad Yasevich <vyasevich@gmail.com>
Tue, 10 Nov 2015 11:15:32 +0000 (06:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Nov 2015 20:41:36 +0000 (15:41 -0500)
commita60dd6d29c858cfdd1b1feb527f7b533596b8f3d
tree39fcefd08dd897840cc92ea1969cf354046aa06d
parentacddb2fb03da393e91dfc86804bc925c6bb578c2
Revert "bridge: Allow forward delay to be cfgd when STP enabled"

This reverts commit bcfc50e3dd27770f9f4b03d4e6a06a4606798953.

There are 2 reasons for this revert:
 1)  The commit in question doesn't do what it says it does.  The
     description reads: "Allow bridge forward delay to be configured
     when Spanning Tree is enabled."  This was already the case before
     the commit was made.  What the commit actually do was disallow
     invalid values or 'forward_delay' when STP was turned off.

 2)  The above change was actually a change in the user observed
     behavior and broke things like libvirt and other network configs
     that set 'forward_delay' to 0 without enabling STP.  The value
     of 0 is actually used when STP is turned off to immediately mark
     the bridge as forwarding.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp.c