Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 11:41:12 +0100
From:      =?ISO-8859-1?Q?Tilman_Keskin=F6z?= <arved@FreeBSD.org>
Cc:        bug-followup@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: kern/163208: [pf] PF state key linking mismatch
Message-ID:  <4F1BE7C8.4040601@FreeBSD.org>
In-Reply-To: <69ABD828-70EB-4599-A3A0-52707C7F3DE5@lists.zabbadoz.net>
References:  <4E4D073F-9979-4CB1-A421-DA5C1FC7A34F@FreeBSD.org> <20120121210118.0a1dc9d3@fabiankeil.de> <AB684E27-BE0B-429D-8077-2EE67A0E731B@freebsd.org> <69ABD828-70EB-4599-A3A0-52707C7F3DE5@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Bjoern A. Zeeb [Sat, 21 Jan 2012 21:01:41 +0000]:
> 
> On 21. Jan 2012, at 20:52 , Tilman Keskinöz wrote:
> 
>>
>> On Jan 21, 2012, at 21:01 , Fabian Keil wrote:
>>
>>> Tilman Keskinöz <arved@FreeBSD.org> wrote:
>>>
>>>> Same here.
>>>>
>>>> Also Fabian Keil reported this in
>>>> http://lists.freebsd.org/pipermail/freebsd-current/2011-July/025696.html
>>>
>>> This has been fixed in CURRENT shortly thereafter:
>>> http://lists.freebsd.org/pipermail/freebsd-pf/2011-July/006199.html
>>>
>>> Maybe the fix hasn't been MFC'd.
>>
>> Hm, r223765 happend before the RELENG_9 Branchpoint.
>> So maybe the Fix was not complete?
> 
> See thread from earlier this month on freebsd-pf
> 

The Thread suggests:

* Matt Lager [Thu, 12 Jan 2012 15:48:23 -0700]:
> So it looks likeI can comment out this code in
> /usr/src/sys/contrib/pf/net/pf.c:
>
>                 /* mismatch. must not happen. */
>                 printf("pf: state key linking mismatch! dir=%s, "
>                     "if=%s, stored af=%u, a0: ",
>                     dir == PF_OUT ? "OUT" : "IN", kif->pfik_name, a->af);
>
> When this error occurs, I guess for valid reasons, does PF drop packets
> or do something else with them, or is this purely an information  notice?

I can confirm that removing this printf, brings back the performance for me.

Please fix :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1BE7C8.4040601>