diff options
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index e8dc2f44fec9..9f4d65c3095f 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -73,8 +73,6 @@ static void macvlan_broadcast(struct sk_buff *skb, | |||
73 | for (i = 0; i < MACVLAN_HASH_SIZE; i++) { | 73 | for (i = 0; i < MACVLAN_HASH_SIZE; i++) { |
74 | hlist_for_each_entry_rcu(vlan, n, &port->vlan_hash[i], hlist) { | 74 | hlist_for_each_entry_rcu(vlan, n, &port->vlan_hash[i], hlist) { |
75 | dev = vlan->dev; | 75 | dev = vlan->dev; |
76 | if (unlikely(!(dev->flags & IFF_UP))) | ||
77 | continue; | ||
78 | 76 | ||
79 | nskb = skb_clone(skb, GFP_ATOMIC); | 77 | nskb = skb_clone(skb, GFP_ATOMIC); |
80 | if (nskb == NULL) { | 78 | if (nskb == NULL) { |