Re: NET_LOCK() w/o SPL

2017-07-24 Thread Alexander Bluhm
On Mon, Jul 24, 2017 at 04:39:14PM +0200, Martin Pieuchot wrote: > Here's a simpler diff. I'd like to move forward with this since it's > the first but blocking step to split the NET_LOCK() and socket locks. OK bluhm@ > > Index: sys/systm.h >

Re: NET_LOCK() w/o SPL

2017-07-24 Thread Martin Pieuchot
On 03/07/17(Mon) 12:23, Martin Pieuchot wrote: > All network processing contexts, with the exception of hardware > interrupt handlers, are now process contexts. That means the SPL > protection is no longer needed inside the NET_LOCK(). > > So the diff below removes the splsofnet()/splx() dance fr

NET_LOCK() w/o SPL

2017-07-03 Thread Martin Pieuchot
All network processing contexts, with the exception of hardware interrupt handlers, are now process contexts. That means the SPL protection is no longer needed inside the NET_LOCK(). So the diff below removes the splsofnet()/splx() dance from the NET_LOCK(). I'm not changing the NET_LOCK() macro