This file contains post-release ERRATA for altq-2.0. Currently 1 problem is listed. 1. ethernet bridging panics under heavy load (1999/10/11) Problem description: When the queue is full, mbuf is freed twice. This leads to a kernel panic. Solution: Appy the following patch to sys-altq/net/bridge.c. The patch is for FreeBSD-3.3 but also applies to 2.8/3.2. The fix is submitted by "Santa Wiryaman" . --- bridge.c- Mon Oct 11 14:50:18 1999 +++ bridge.c Mon Oct 11 14:58:16 1999 @@ -630,10 +630,14 @@ if (m->m_flags & M_MCAST) ifp->if_omcasts++; splx(s); - if (m == *m0) - *m0 = NULL ; /* the packet is gone... */ - m = NULL ; } + /* + * when enqueue fails, mbuf is freed by if_altqenqueue. + * we need to clear m regardless of the return value. + */ + if (m == *m0) + *m0 = NULL ; /* the packet is gone... */ + m = NULL ; } else { #endif /* ALTQ */