Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 22:45:42 +0300 (EEST)
From:      Eugene Polovnikov <eugene@kabir.zssm.zp.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/37261: kernel is not linking without "device ether" in the config
Message-ID:  <200204191945.WAA18269@kabir.zssm.zp.ua>

next in thread | raw e-mail | index | archive | help

>Number:         37261
>Category:       kern
>Synopsis:       kernel is not linking without "device ether" in the config
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 19 12:50:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Polovnikov
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:


>Description:
    kernel is not linking without "device ether" in the kernel's config
>How-To-Repeat:
	delete "device ether" and all drivers of ethernet NIC's from kernel's config
	and try to build new kernel

	

>Fix:
--- if.c.old    Fri Apr 19 22:29:22 2002
+++ if.c        Fri Apr 19 22:29:44 2002
@@ -1599,7 +1599,7 @@
                ifp->if_flags |= IFF_UP;
				ifr.ifr_flags = ifp->if_flags;
				(*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, (caddr_t)&ifr);
-#ifdef INET
+#if NETHER > 0
				/*
				 * Also send gratuitous ARPs to notify other nodes about
				 * the address change.

	

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204191945.WAA18269>