conf/160892: [patch] add vboxnet[0-9]* to noafif list

Garrett Cooper gcooper at ixsystems.com
Wed Sep 21 23:50:06 UTC 2011


>Number:         160892
>Category:       conf
>Synopsis:       [patch] add vboxnet[0-9]* to noafif list
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 23:50:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.0-BETA2
>Organization:
iXsystems, Inc.
>Environment:
FreeBSD streetfighter.ixsystems.com 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225558: Wed Sep 14 20:29:45 PDT 2011     gcooper at streetfighter.ixsystems.com:/usr/obj/usr/src/sys/STREETFIGHTER  amd64
>Description:
If you load the vboxnet module or service at boot, the vboxnet0 interface becomes available:

$ ifconfig vboxnet0
vboxnet0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 0a:00:27:00:00:00
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

This interface shouldn't be configured with IPv6.

This patch also sorts the interface list.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: etc/network.subr
===================================================================
--- etc/network.subr	(revision 225558)
+++ etc/network.subr	(working copy)
@@ -390,15 +390,16 @@
 	_if=$1
 
 	case $_if in
-	pflog[0-9]*|\
-	pfsync[0-9]*|\
 	an[0-9]*|\
 	ath[0-9]*|\
 	ipw[0-9]*|\
 	ipfw[0-9]*|\
 	iwi[0-9]*|\
 	iwn[0-9]*|\
+	pflog[0-9]*|\
+	pfsync[0-9]*|\
 	ral[0-9]*|\
+	vboxnet[0-9]*|\
 	wi[0-9]*|\
 	wl[0-9]*|\
 	wpi[0-9]*)


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


More information about the freebsd-bugs mailing list