summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ht.c
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2018-12-15 11:03:06 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-12-19 09:40:17 +0100
commit34b1e0e9efe101822e83cc62d22443ed3867ae7a (patch)
treee8427e1dad5a69fd38dfb029efbae16d88849820 /net/mac80211/ht.c
parentd350a0f431189517b1af0dbbb605c273231a8966 (diff)
downloadtalos-obmc-linux-34b1e0e9efe101822e83cc62d22443ed3867ae7a.tar.gz
talos-obmc-linux-34b1e0e9efe101822e83cc62d22443ed3867ae7a.zip
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> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ht.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud