diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-06-17 06:23:06 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2016-06-19 19:46:03 +0200 |
commit | b98da4b6234f74ace00e751e1fe999036efe88cc (patch) | |
tree | 6889837775268b6ed9e5f8cd66252eedaf1d40a5 /package/kernel/mac80211/patches/860-brcmfmac-add-missing-eth_type_trans-call.patch | |
parent | 5f8010ad9bcbd51f18e313bde24f6769716f2511 (diff) | |
download | master-187ad058-b98da4b6234f74ace00e751e1fe999036efe88cc.tar.gz master-187ad058-b98da4b6234f74ace00e751e1fe999036efe88cc.tar.bz2 master-187ad058-b98da4b6234f74ace00e751e1fe999036efe88cc.zip |
mac80211: brcmfmac: backport fixes for 4.7 and 4.8
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49380 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/860-brcmfmac-add-missing-eth_type_trans-call.patch')
-rw-r--r-- | package/kernel/mac80211/patches/860-brcmfmac-add-missing-eth_type_trans-call.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/package/kernel/mac80211/patches/860-brcmfmac-add-missing-eth_type_trans-call.patch b/package/kernel/mac80211/patches/860-brcmfmac-add-missing-eth_type_trans-call.patch deleted file mode 100644 index 7100820710..0000000000 --- a/package/kernel/mac80211/patches/860-brcmfmac-add-missing-eth_type_trans-call.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com> -Subject: [PATCH] brcmfmac: add missing eth_type_trans call -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -There are 2 protocols supported by brcmfmac and msgbuf one was missing a -proper skb setup before passing it to the netif. This was triggering -"NULL pointer dereference". - -Fixes: 9c349892ccc9 ("brcmfmac: revise handling events in receive path") -Signed-off-by: Rafał Miłecki <zajec5@gmail.com> ---- - ---- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c -+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c -@@ -1157,6 +1157,9 @@ brcmf_msgbuf_process_rx_complete(struct brcmf_msgbuf *msgbuf, void *buf) - brcmu_pkt_buf_free_skb(skb); - return; - } -+ -+ skb->protocol = eth_type_trans(skb, ifp->ndev); -+ - brcmf_netif_rx(ifp, skb); - } - |