summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-07-02 10:50:32 +0200
committerJohn W. Linville <linville@tuxdriver.com>2007-07-10 13:42:11 -0400
commitd082b9b5c6edf2e1d241af4630f12f0e5e2d2377 (patch)
tree0d7d717883468216a5164d50de16d6f048378695 /drivers/net/wireless
parent26710dcf84236ea20a92a00b4828a5f9a1729795 (diff)
downloadblackbird-op-linux-d082b9b5c6edf2e1d241af4630f12f0e5e2d2377.tar.gz
blackbird-op-linux-d082b9b5c6edf2e1d241af4630f12f0e5e2d2377.zip
[PATCH] libertas: fix use-after-free in rx path
... by removing an ill-conceived, useless line. Discovered by coverity. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/libertas/rx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c
index 88d9d2d787d5..769c86fb9509 100644
--- a/drivers/net/wireless/libertas/rx.c
+++ b/drivers/net/wireless/libertas/rx.c
@@ -439,7 +439,6 @@ static int process_rxed_802_11_packet(wlan_private * priv, struct sk_buff *skb)
ret = 0;
done:
- skb->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */
lbs_deb_leave_args(LBS_DEB_RX, "ret %d", ret);
return ret;
}
OpenPOWER on IntegriCloud