]> pilppa.org Git - linux-2.6-omap-h63xx.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)
commitdf1c0b8468b34628ed12b103804a4576cd9af8bb
tree415a646ecbec816b1ee415768e25987b91e08129
parentb91ddd843751947e2f81dfc8a86c5c21cbe07158
[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