On Mon, 2017-06-12 at 11:15 +0200, Arend van Spriel wrote: > On 6/12/2017 11:11 AM, Johannes Berg wrote: > > On Mon, 2017-06-12 at 10:06 +0100, Arend van Spriel wrote: > > > This patch deals with changes made in struct net_device by commit > > > cf124db566e6 ("net: Fix inconsistent teardown and release of > > > private > > > netdev state."). This only looks for instances that need > > > free_netdev() call, ie. struct net_device::needs_free_netdev == > > > true. > > > > I think we may need to worry about more kernel versions than just > > 4.12 > > here, since this stuff is getting backported, and then it would > > cause > > double-frees. > > > > I'm also considering simply removing the priv_destructor entirely > > from > > mac80211, but I guess this would still apply to other drivers. > > For current backports the only other driver is brcmfmac. Right. > So you don't > need it in mac80211? Does that mean you move stuff to .ndo_uninit()? No, just call more things explicitly and remove destructor usage entirely. See the thread with davem? johannes -- To unsubscribe from this list: send the line "unsubscribe backports" in