Date: Sun, 2 Apr 2006 23:45:24 GMT From: Eugene Perevyazko <john@dnepro.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/95243: [patch] 5-STABLE if_bridge not compiling Message-ID: <200604022345.k32NjOxF023692@www.freebsd.org> Resent-Message-ID: <200604022350.k32NoE4R060257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95243
>Category: kern
>Synopsis: [patch] 5-STABLE if_bridge not compiling
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 02 23:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Eugene Perevyazko
>Release: RELENG_5
>Organization:
ISP Dnepronet
>Environment:
FreeBSD dragonlair.dnepro.net 5.4-STABLE FreeBSD 5.4-STABLE #3: Wed Dec 21 21:58:05 EET 2005 john@dragonlair.dnepro.net:/usr/obj/usr/src/sys/DRAGONLAIR i386
>Description:
module if_bridge failing to compile after cvsup on Apr 2 2006
the message is about missing structure element "ifp" at line 2091 of if_bridge.c
>How-To-Repeat:
cvsup to RELENG_5 at given date and make buildkernel
>Fix:
--- if_bridge.c.old Mon Apr 3 01:54:26 2006
+++ if_bridge.c Mon Apr 3 01:54:52 2006
@@ -2088,7 +2088,7 @@
i = min(mc->m_pkthdr.len, max_protohdr);
mc = m_copyup(mc, i, ETHER_ALIGN);
if (mc == NULL) {
- sc->sc_ifp->if_oerrors++;
+ sc->sc_if.if_oerrors++;
continue;
}
}
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604022345.k32NjOxF023692>
