diff options
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r-- | net/bridge/br_input.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index b7766562d72c..b0b7f55c1edd 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c | |||
@@ -125,9 +125,6 @@ int br_handle_frame(struct net_bridge_port *p, struct sk_buff **pskb) | |||
125 | struct sk_buff *skb = *pskb; | 125 | struct sk_buff *skb = *pskb; |
126 | const unsigned char *dest = eth_hdr(skb)->h_dest; | 126 | const unsigned char *dest = eth_hdr(skb)->h_dest; |
127 | 127 | ||
128 | if (p->state == BR_STATE_DISABLED) | ||
129 | goto err; | ||
130 | |||
131 | if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) | 128 | if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) |
132 | goto err; | 129 | goto err; |
133 | 130 | ||