]> git.baikalelectronics.ru Git - kernel.git/commit
[BRIDGE]: Packets leaking out of disabled/blocked ports.
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 31 Aug 2007 05:15:35 +0000 (22:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Aug 2007 05:15:35 +0000 (22:15 -0700)
commit72a5d8284ce38d98c7e0586f778474cef0724c3f
tree415a646ecbec816b1ee415768e25987b91e08129
parentee41902be568d9c6ce99fe06a9a5ffe0f33ca2e3
[BRIDGE]: Packets leaking out of disabled/blocked ports.

This patch fixes some packet leakage in bridge.  The bridging code was
allowing forward table entries to be generated even if a device was
being blocked. The fix is to not add forwarding database entries
unless the port is active.

The bug arose as part of the conversion to processing STP frames
through normal receive path (in 2.6.17).

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Acked-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_input.c