Re: [PATCH net] mac80211: free netdev on dev_alloc_name() error

2017-06-09 Thread David Miller
From: Johannes Berg Date: Fri, 9 Jun 2017 21:33:09 +0200 > From: Johannes Berg > > The change to remove free_netdev() from ieee80211_if_free() > erroneously didn't add the necessary free_netdev() for when > ieee80211_if_free() is called directly in one place, rather > than as the priv_destruct

[PATCH net] mac80211: free netdev on dev_alloc_name() error

2017-06-09 Thread Johannes Berg
From: Johannes Berg The change to remove free_netdev() from ieee80211_if_free() erroneously didn't add the necessary free_netdev() for when ieee80211_if_free() is called directly in one place, rather than as the priv_destructor. Add the missing call. Fixes: cf124db566e6 ("net: Fix inconsistent t