projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b30153
)
[PATCH] skb used after passing to netif_rx in net/ieee80211/ieee80211_rx.c
author
Eric Sesterhenn
<snakebyte@gmx.de>
Wed, 21 Jun 2006 19:05:58 +0000
(21:05 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 5 Jul 2006 17:42:57 +0000
(13:42 -0400)
this patch fixes coverity id #913. ieee80211_monitor_rx() passes the skb
to netif_rx() and we should not reference it any longer.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_rx.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ieee80211/ieee80211_rx.c
b/net/ieee80211/ieee80211_rx.c
index 47ccf159372ce0b0e1ee57526e01df6100f5fa43..dd746e38db5db72433e5a51d18159912536479d0 100644
(file)
--- a/
net/ieee80211/ieee80211_rx.c
+++ b/
net/ieee80211/ieee80211_rx.c
@@
-402,9
+402,9
@@
int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
#endif
if (ieee->iw_mode == IW_MODE_MONITOR) {
- ieee80211_monitor_rx(ieee, skb, rx_stats);
stats->rx_packets++;
stats->rx_bytes += skb->len;
+ ieee80211_monitor_rx(ieee, skb, rx_stats);
return 1;
}