Re: let's get reference to state key back

2016-03-28 Thread Alexandr Nedvedicky
Hello, > i can't see any problem with this patch. i'm sending 14Mpps ip4 and ip6 > over ix intefaces and creating around 3M to 5M states and all this more > than 24 hours. box is unusable but it's alive :) thank you very much for testing. let's wait day or two to give other folks chance to trip

Re: let's get reference to state key back

2016-03-25 Thread Alexandr Nedvedicky
Hello, sorry I have not test patch, which I've sent earlier. I boot unpatched kernel... this is the fix one need. updated patch is further below. 8<---8<-8< diff -r 00f90fca186c src/sys/net/pf.c --- a/src/sys/net/pf.c Fri Mar 25 09:29:43 2016 +0100

let's get reference to state key back

2016-03-25 Thread Alexandr Nedvedicky
Hello, this yet another patch, which got backed out in Jan. This time I'd like to commit change, which makes sure IP stack keeps reference to state key along the packet (mbuf). The change should not cause panics, but I'd like to ask testers to watch for memory leaks on state key pool (pfstkey):