]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix TX error path
authorJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 13:02:30 +0000 (14:02 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 17:01:54 +0000 (18:01 +0100)
commit431e708829b2f1e3960c1af281eb3192fdd1d10a
treef70e477a8cfcf6c7b9010f8ebaf2290182320018
parent42ee729fee4d4551c46d740b3ce868d805299e9e
mac80211: fix TX error path

One error path in ieee80211_subif_start_xmit() will
double-free the SKB. Set it to NULL to prevent that.

This issue was introduced by my channel context
changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c