diff options
| author | Andy Strohman <[email protected]> | 2019-05-25 06:27:29 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2019-05-28 07:47:10 +0000 |
| commit | f77bf4863dc2218362f4227d56af4a5f3f08830c (patch) | |
| tree | d768d8569a2e3280c1fe6334b59609928a95a650 /net/lapb/lapb_iface.c | |
| parent | mac80211: Do not use stack memory with scatterlist for GMAC (diff) | |
| download | kernel-f77bf4863dc2218362f4227d56af4a5f3f08830c.tar.gz kernel-f77bf4863dc2218362f4227d56af4a5f3f08830c.zip | |
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: 8689c051a201 ("cfg80211: dynamically allocate per-tid stats for station info")
Signed-off-by: Andy Strohman <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
