aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-02-15 18:43:55 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-17 17:33:18 +0100
commitd48a8ed40d3d1b65eec9c848828c6c0e2928cf07 (patch)
treea9d76b409892bf8f354099730732aeab3760742f /package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch
parentc8a30172f88f3df6d58dd3f67c5c12ef9472e979 (diff)
downloadupstream-d48a8ed40d3d1b65eec9c848828c6c0e2928cf07.tar.gz
upstream-d48a8ed40d3d1b65eec9c848828c6c0e2928cf07.tar.bz2
upstream-d48a8ed40d3d1b65eec9c848828c6c0e2928cf07.zip
mac80211: update to version 4.19.23-1
This updates mac80211 to backports version 4.19.23-1 which includes all the stable fixes from kernel 4.19.23. The removed patches are included in this version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch')
-rw-r--r--package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch b/package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch
deleted file mode 100644
index dc12290f4f..0000000000
--- a/package/kernel/mac80211/patches/subsys/351-mac80211-free-skb-fraglist-before-freeing-the-skb.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Sara Sharon <sara.sharon@intel.com>
-Date: Thu, 11 Oct 2018 14:21:21 +0200
-Subject: [PATCH] mac80211: free skb fraglist before freeing the skb
-
-mac80211 uses the frag list to build AMSDU. When freeing
-the skb, it may not be really freed, since someone is still
-holding a reference to it.
-In that case, when TCP skb is being retransmitted, the
-pointer to the frag list is being reused, while the data
-in there is no longer valid.
-Since we will never get frag list from the network stack,
-as mac80211 doesn't advertise the capability, we can safely
-free and nullify it before releasing the SKB.
-
-Signed-off-by: Sara Sharon <sara.sharon@intel.com>
----
-
---- a/net/mac80211/status.c
-+++ b/net/mac80211/status.c
-@@ -558,6 +558,11 @@ static void ieee80211_report_used_skb(st
- }
-
- ieee80211_led_tx(local);
-+
-+ if (skb_has_frag_list(skb)) {
-+ kfree_skb_list(skb_shinfo(skb)->frag_list);
-+ skb_shinfo(skb)->frag_list = NULL;
-+ }
- }
-
- /*