diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-07-02 08:50:32 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-07-10 17:42:11 (GMT) |
commit | d082b9b5c6edf2e1d241af4630f12f0e5e2d2377 (patch) | |
tree | 0d7d717883468216a5164d50de16d6f048378695 /drivers/net/wireless/libertas/rx.c | |
parent | 26710dcf84236ea20a92a00b4828a5f9a1729795 (diff) | |
download | linux-fsl-qoriq-d082b9b5c6edf2e1d241af4630f12f0e5e2d2377.tar.xz |
[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/libertas/rx.c')
-rw-r--r-- | drivers/net/wireless/libertas/rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index 88d9d2d..769c86f 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; } |