kern/95243: [patch] 5-STABLE if_bridge not compiling

Eugene Perevyazko john at dnepro.net
Sun Apr 2 23:50:15 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list