Re: [PATCH] backport: handle change in netdevice destructor usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. So you don't need it in mac80211? Does that mean you move stuff to .ndo_uninit()?

Arend
--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux