Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: mac80211: fix memory leak in ieee80211_if_add()
When register_netdevice() failed in ieee80211_if_add(), ndev->tstats isn't released. Fix it. Fixes: 5a49051 ("mac80211: use per-CPU TX/RX statistics") Signed-off-by: Zhengchao Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information