diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-03-01 08:10:12 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-04 10:34:11 +0100 |
commit | 88724a81b4ac2a755bf9c532cdbee08a52803852 (patch) | |
tree | 7c73b370322b85288b70dd3a8313bd10f27b8657 /kernel/uid16.c | |
parent | mac80211: remove duplicate check for quiescing when queueing work (diff) | |
download | linux-88724a81b4ac2a755bf9c532cdbee08a52803852.tar.xz linux-88724a81b4ac2a755bf9c532cdbee08a52803852.zip |
mac80211: check and dequeue skb in ieee80211_tx_prepare_skb()
The ieee80211_tx_prepare_skb() function currently entirely ignores
the fact that the SKB that is passed in might be split into more
than one due to fragmentation and doesn't check the list of skbs
that the TX handlers may create. In case this happens, it would
leak them.
Fix this and also don't leave the skb next/prev pointers dangling
pointing to the on-stack sk_buff_head.
Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions