Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: [email protected] Fixes: 8689c05 ("cfg80211: dynamically allocate per-tid stats for station info") Signed-off-by: Andy Strohman <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information