Re: pf_purge_thread() needs NET_LOCK()

2017-01-06 Thread Alexandr Nedvedicky
On Fri, Jan 06, 2017 at 12:21:19PM +0100, Martin Pieuchot wrote: > Right now for pfsync(4), but later it will need it to serialize access > to PF data structures. > > splassert: ip_output: want 1 have 0 > ip_output() at ip_output+0x7d > pfsync_sendout() at pfsync_sendout+0x499 >

pf_purge_thread() needs NET_LOCK()

2017-01-06 Thread Martin Pieuchot
Right now for pfsync(4), but later it will need it to serialize access to PF data structures. splassert: ip_output: want 1 have 0 ip_output() at ip_output+0x7d pfsync_sendout() at pfsync_sendout+0x499 pfsync_q_ins() at pfsync_q_ins+0x78 pf_remove_state() at