[BRIDGE]: if no STP then forward all BPDUs
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 26 Apr 2007 05:07:58 +0000 (22:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:30:02 +0000 (22:30 -0700)
commitc2886d6259b8faac4c05ffd9c3c401ac84478de0
tree88bcce1789b029334f9a19db8e78f79d5f8fc808
parent2111f8b9e58fd04b87b8b07d66485f255a57b0bb
[BRIDGE]: if no STP then forward all BPDUs

If a bridge is not running STP, then it has no way to detect a cycle
in the network. But if it is not running STP and some other machine
or device is running STP, then if STP BPDU's get forwarded to it can
detect the cycle.

This is how the old 2.4 and early 2.6 code worked.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_input.c