Project

General

Profile

Actions

Bug #1859

closed

panic: assertion in mark_ecn (pf related)

Added by ftigeot about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Running a gateway with pf on a 2.7 machine results in periodic crashes with this
message:

panic: assertion: m->m_pkthdr.fw_flags & PF_MBUF_STRUCTURE in mark_ecn

The crashes appear every few hours with low traffic. Copying files with
scp/rsync is a sure way to trigger them.

I have put part of the relevant /var/crash files at this location.

http://dl.zefyris.com/crash.pf/

There are no kernel and vmcore images yet for obvious reasons.

Actions #1

Updated by dillon about 14 years ago

:New submission from Francois Tigeot <>:
:
:Running a gateway with pf on a 2.7 machine results in periodic crashes with this
:message:
:
:panic: assertion: m->m_pkthdr.fw_flags & PF_MBUF_STRUCTURE in mark_ecn

Could you email me your pf.conf?
-Matt
Matthew Dillon
&lt;&gt;
Actions #2

Updated by dillon about 14 years ago

Never mind, I found it. I mis-coded altq_red... I thought it could
only be called from PF but in fact it can be called directly via
ifq_enqueue().

I have pushed a fix, please test.
-Matt
Matthew Dillon
&lt;&gt;
Actions #3

Updated by ftigeot about 14 years ago

On Tue, Oct 05, 2010 at 12:48:39AM +0000, Matthew Dillon (via DragonFly issue tracker) wrote:

Matthew Dillon <> added the comment:

Never mind, I found it. I mis-coded altq_red... I thought it could
only be called from PF but in fact it can be called directly via
ifq_enqueue().

I have pushed a fix, please test.

Test is conclusive; no more panics when transferring large files.

Actions

Also available in: Atom PDF