Skip to content

Commit

Permalink
[BRIDGE]: receive link-local on disabled ports.
Browse files Browse the repository at this point in the history
This change allows link local packets (like 802.3ad and Spanning Tree
Protocol) to be processed even when the bridge is not using the port.
It fixes the chicken-egg problem for bridging a bonded device, and
may also fix problems with spanning tree failover.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Apr 12, 2006
1 parent f6596f9 commit b7595b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/bridge/br_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb)
struct sk_buff *skb = *pskb;
const unsigned char *dest = eth_hdr(skb)->h_dest;

if (p->state == BR_STATE_DISABLED)
goto err;

if (!is_valid_ether_addr(eth_hdr(skb)->h_source))
goto err;

Expand Down

0 comments on commit b7595b4

Please sign in to comment.