]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix TX aggregation TID struct leak
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2013 20:47:56 +0000 (22:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2013 22:16:37 +0000 (00:16 +0200)
commit783537c5fea6b409687ada8737983b8b3565432a
tree36d0adfa37d54995665c621a6549b475d92b9b39
parenta0109114e5439316a43b06d6982908750a7d4d6e
mac80211: fix TX aggregation TID struct leak

Ben reports that kmemleak is saying TX aggregation TID
structs are leaked. Given his workload, I suspect that
they're leaked because stations are destroyed before
their aggregation sessions get a chance to start. Fix
this by simply freeing structs that are not used yet.

Reported-by: Ben Greear <greearb@candelatech.com>
Tested-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c