Re: kern/176763: [pf] [patch] Removing pf Source entries locks kernel.

2013-03-09 Thread linimon
Old Synopsis: Removing pf Source entries locks kernel. New Synopsis: [pf] [patch] Removing pf Source entries locks kernel. Responsible-Changed-From-To: freebsd-bugs->freebsd-pf Responsible-Changed-By: linimon Responsible-Changed-When: Sun Mar 10 04:31:13 UTC 2013 Responsible-Changed-Why: Over to

Re: [patch] Source entries removing is awfully slow.

2013-03-09 Thread Kajetan Staszkiewicz
Dnia sobota, 9 marca 2013 o 16:11:56 napisałeś: > > > Though the src node removal option through pfctl -K does a lot of job > > > to cleanup things > > > Still need to undertand why it takes so much time for you to loop > > > through 500K states. > > > > That is because the loop will not be calle

Re: [patch] Source entries removing is awfully slow.

2013-03-09 Thread Ermal Luçi
On Sat, Mar 9, 2013 at 2:37 PM, Kajetan Staszkiewicz wrote: > Dnia sobota, 9 marca 2013 o 13:14:16 Ermal Luçi napisał(a): > > On Fri, Mar 8, 2013 at 9:51 PM, Kajetan Staszkiewicz > > > > wrote: > > > Dnia piątek, 8 marca 2013 o 21:11:43 Ermal Luçi napisał(a): > > > > Is this FreeBSD 9.x or HEAD? >

Re: [patch] Source entries removing is awfully slow.

2013-03-09 Thread Kajetan Staszkiewicz
Dnia sobota, 9 marca 2013 o 13:14:16 Ermal Luçi napisał(a): > On Fri, Mar 8, 2013 at 9:51 PM, Kajetan Staszkiewicz > > wrote: > > Dnia piątek, 8 marca 2013 o 21:11:43 Ermal Luçi napisał(a): > > > Is this FreeBSD 9.x or HEAD? > > > > I found the problem and developed the patch on 9.1. > > > Can y

Re: [patch] Source entries removing is awfully slow.

2013-03-09 Thread Ermal Luçi
Also do not forget to rebuild pfctl so that statistics are shown correctly. On Sat, Mar 9, 2013 at 1:14 PM, Ermal Luçi wrote: > > > > On Fri, Mar 8, 2013 at 9:51 PM, Kajetan Staszkiewicz < > veg...@tuxpowered.net> wrote: > >> Dnia piątek, 8 marca 2013 o 21:11:43 Ermal Luçi napisał(a): >> > Is t

Re: [patch] Source entries removing is awfully slow.

2013-03-09 Thread Ermal Luçi
On Fri, Mar 8, 2013 at 9:51 PM, Kajetan Staszkiewicz wrote: > Dnia piątek, 8 marca 2013 o 21:11:43 Ermal Luçi napisał(a): > > Is this FreeBSD 9.x or HEAD? > > I found the problem and developed the patch on 9.1. > > Can you please test this more 'beautiful' patch. Its similar to yours but also dela