Re: NET_LOCK and pf_consistency_lock removal

2017-01-29 Thread Alexander Bluhm
On Wed, Jan 25, 2017 at 09:53:34AM +0100, Sebastian Benoit wrote: > this removes the pf_consistency_lock and protects the users with NET_LOCK() > > I ran into a crash when using pfctl -k, and mpi suggested this change (and > likes the diff). > > pf hackers: ok? OK bluhm@ > +pf_purge_expired_src

Re: NET_LOCK and pf_consistency_lock removal

2017-01-25 Thread Martin Pieuchot
On 25/01/17(Wed) 09:53, Sebastian Benoit wrote: > Hi, > > this removes the pf_consistency_lock and protects the users with NET_LOCK() > > I ran into a crash when using pfctl -k, and mpi suggested this change (and > likes the diff). The reason I suggested this diff is that pfioctl() will need the

NET_LOCK and pf_consistency_lock removal

2017-01-25 Thread Sebastian Benoit
Hi, this removes the pf_consistency_lock and protects the users with NET_LOCK() I ran into a crash when using pfctl -k, and mpi suggested this change (and likes the diff). pf hackers: ok? diff --git sys/net/pf.c sys/net/pf.c index 2ae434e405d..a8ade533484 100644 --- sys/net/pf.c +++ sys/net/pf.