Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: fix statistics leak if dev_alloc_name() fails
In the case that dev_alloc_name() fails, e.g. because the name was given by the user and already exists, we need to clean up properly and free the per-CPU statistics. Fix that. Cc: [email protected] Fixes: 5a49051 ("mac80211: use per-CPU TX/RX statistics") Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information