# Re: IPv4/IPv6 sysctl unregistration deadlock

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2009-02-26 06:23:08 
- List: netdev
- Page: https://ratatoskr.run/netdev/2009/02/10818868
- Thread: https://ratatoskr.run/netdev/2009/02/10818776/t.md

```text
On Wed, Feb 25, 2009 at 10:10:33PM -0800, Eric W. Biederman wrote:
>
> How does adding a rename operation to sysctl sound?

Yes that would definitely help.  Of course for the unregister case
we'd still need either an async removal or a no-op as Patrick
suggested.

> I am a little concerned that if we have this issue with sysctl
> we also have it with proc and sysfs as well.

Indeed.  /proc should be OK because it's all read-only so we don't
take the RTNL anywhere.  But sysfs may well have the same issue.

I think we should watch out for any more attempts at adding
netdev name-based sysfs nodes and nip them in the bud.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
