Skip to content
Commit f77bf486 authored by Andy Strohman's avatar Andy Strohman Committed by Johannes Berg
Browse files

nl80211: fix station_info pertid memory leak



When dumping stations, memory allocated for station_info's
pertid member will leak if the nl80211 header cannot be added to
the sk_buff due to insufficient tail room.

I noticed this leak in the kmalloc-2048 cache.

Cc: stable@vger.kernel.org
Fixes: 8689c051 ("cfg80211: dynamically allocate per-tid stats for station info")
Signed-off-by: default avatarAndy Strohman <andy@uplevelsystems.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a71fd9da
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment