Re: {tc,ud}btable & NET_LOCK()

2017-03-06 Thread Alexander Bluhm
On Mon, Mar 06, 2017 at 12:13:48PM +0100, Martin Pieuchot wrote: > In sysctl_file() splnet() is no longer what we want. Arguably the > KERNEL_LOCK() should be enough, but since pf(4) is messing with these > tables, and nobody turned this part of pf(4) MP, let's require the > NET_LOCK(). > > ok?

{tc,ud}btable & NET_LOCK()

2017-03-06 Thread Martin Pieuchot
In sysctl_file() splnet() is no longer what we want. Arguably the KERNEL_LOCK() should be enough, but since pf(4) is messing with these tables, and nobody turned this part of pf(4) MP, let's require the NET_LOCK(). ok? Index: kern/kern_sysctl.c ===