From nobody@FreeBSD.org  Sun Apr  2 23:45:25 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 63D0516A400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Apr 2006 23:45:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 31E8D43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Apr 2006 23:45:25 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k32NjOwE023693
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Apr 2006 23:45:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k32NjOxF023692;
	Sun, 2 Apr 2006 23:45:24 GMT
	(envelope-from nobody)
Message-Id: <200604022345.k32NjOxF023692@www.freebsd.org>
Date: Sun, 2 Apr 2006 23:45:24 GMT
From: Eugene Perevyazko <john@dnepro.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] 5-STABLE if_bridge not compiling
X-Send-Pr-Version: www-2.3

>Number:         95243
>Category:       kern
>Synopsis:       [patch] 5-STABLE if_bridge not compiling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thompsa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 02 23:50:13 GMT 2006
>Closed-Date:    Sun Apr 02 23:57:07 GMT 2006
>Last-Modified:  Sun Apr 02 23:57:07 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: thompsa 
State-Changed-When: Sun Apr 2 23:55:55 UTC 2006 
State-Changed-Why:  
Committed, thanks for pointing it out. 


Responsible-Changed-From-To: freebsd-bugs->thompsa 
Responsible-Changed-By: thompsa 
Responsible-Changed-When: Sun Apr 2 23:55:55 UTC 2006 
Responsible-Changed-Why:  
My mistake 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95243 
>Unformatted:
