On Sun, Apr 06, 2014 at 12:21:27AM +0200, Martin Matuska wrote:
> An reworked pf_overloadqueue patch is attached
Looks good to me. Thanks.
--
Mikolaj Golub
___
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
CURVNET_SET(vnet);
PF_OVERLOADQ_LOCK();
- queue = *(struct pf_overload_head *)c;
- SLIST_INIT((struct pf_overload_head *)c);
+ queue = V_pf_overloadqueue;
+ SLIST_INIT(V_pf_overloadqueue);
PF_OVERLOADQ_UNLOCK();
--
Mikolaj Golub
_
On Sun, Jun 16, 2013 at 01:13:55PM +0200, Nikos Vassiliadis wrote:
> Please review, thanks.
Looks good for me.
--
Mikolaj Golub
___
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any m
M_PFHASH, M_WAITOK|M_ZERO);
> - V_pf_srchashmask = V_pf_srchashsize - 1;
> + V_pf_srchashmask = pf_srchashsize - 1;
> for (i = 0, sh = V_pf_srchash; i <= V_pf_srchashmask; i++, sh++)
> mtx_init(&sh->lock, "pf_srchash", NULL, MTX_DEF);
>
> ___
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"
--
Mikolaj Golub
___
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"
ly your patch looks like a partial revert of that
commit. So I think you need to think about this issue from start. At
least it should not crash non-vimage kernel and there should be
understanding how to fix it for vimage kernel. Your approach with
keeping only one purge thread might make it
/*
> - * Order is important:
> - * - states and src nodes reference rules
> - * - states and rules reference kifs
> - */
> - pf_purge_expired_fragments();
> -
The following reply was made to PR kern/130977; it has been noted by GNATS.
From: Mikolaj Golub
To: bug-follo...@freebsd.org,darki...@gmail.com
Cc:
Subject: Re: kern/130977: [netgraph][pf] kernel panic trap 12 on user connect
to VPN server
Date: Fri, 10 Apr 2009 14:42:59 +0300
The problem