Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203303
b: refs/heads/master
c: 5548a8a
h: refs/heads/master
i:
  203301: f8c4328
  203299: c951f9b
  203295: c6ad54e
v: v3
  • Loading branch information
John W. Linville committed Jun 28, 2010
1 parent 4f56877 commit 7d8b094
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 679db794679baae96ce0a2257daaeaedef4e8352
refs/heads/master: 5548a8a1138c96e3e6f803c9f2c1f9389c2f0ee6
10 changes: 5 additions & 5 deletions trunk/net/mac80211/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ ieee80211_rx_monitor(struct ieee80211_local *local, struct sk_buff *origskb,
skb2 = skb_clone(skb, GFP_ATOMIC);
if (skb2) {
skb2->dev = prev_dev;
netif_rx(skb2);
netif_receive_skb(skb2);
}
}

Expand All @@ -304,7 +304,7 @@ ieee80211_rx_monitor(struct ieee80211_local *local, struct sk_buff *origskb,

if (prev_dev) {
skb->dev = prev_dev;
netif_rx(skb);
netif_receive_skb(skb);
} else
dev_kfree_skb(skb);

Expand Down Expand Up @@ -1578,7 +1578,7 @@ ieee80211_deliver_skb(struct ieee80211_rx_data *rx)
/* deliver to local stack */
skb->protocol = eth_type_trans(skb, dev);
memset(skb->cb, 0, sizeof(skb->cb));
netif_rx(skb);
netif_receive_skb(skb);
}
}

Expand Down Expand Up @@ -2244,7 +2244,7 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,
skb2 = skb_clone(skb, GFP_ATOMIC);
if (skb2) {
skb2->dev = prev_dev;
netif_rx(skb2);
netif_receive_skb(skb2);
}
}

Expand All @@ -2255,7 +2255,7 @@ static void ieee80211_rx_cooked_monitor(struct ieee80211_rx_data *rx,

if (prev_dev) {
skb->dev = prev_dev;
netif_rx(skb);
netif_receive_skb(skb);
skb = NULL;
} else
goto out_free_skb;
Expand Down

0 comments on commit 7d8b094

Please sign in to comment.