diff options
| author | 2026-08-09 09:49:47 -0300 | |
|---|---|---|
| committer | 2026-09-04 10:08:00 +0200 | |
| commit | f9edf7cf63b96d2b776fca8d258d3c5256e40c8e (patch) | |
| tree | 94feb962ea69a99693ae246af9c083781842c7b1 /scripts/Makefile.thinlto | |
| parent | wifi: wilc1000: fix out-of-bounds read in P2P public action frames (diff) | |
wifi: virt_wifi: free skb when disconnected
When the simulated link is disconnected, virt_wifi_start_xmit() returns
NET_XMIT_DROP without freeing the skb. dev_hard_start_xmit() treats this
return value as consumed, so every packet sent while disconnected leaks its
skb.
Free the skb before returning the drop status.
Fixes: c7cdba31ed8b ("mac80211-next: rtnetlink wifi simulation device")
Signed-off-by: Mariano Baragiola <mbaragiola@linux.com>
Link: https://patch.msgid.link/20260809124947.3590270-1-mbaragiola@linux.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
