Date: Mon, 12 Mar 2007 13:08:56 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.c Message-ID: <200703121308.l2CD8urI098047@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2007-03-12 13:08:56 UTC
FreeBSD src repository
Modified files:
sbin/ifconfig ifconfig.c
Log:
Attempt to load the kernel module only if we are going to create a
new interface. In other cases loading the module is unwanted and
can lead to ill side effects. One such effect found is as follows:
"kldunload if_foo" tells the module to kill all its interfaces,
which results in messages sent to devd; the module unloads. Then
devd starts processing the messages, which ends up in a etc script
running ifconfig fooX, which reloads the module.
Revision Changes Path
1.129 +1 -3 src/sbin/ifconfig/ifconfig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703121308.l2CD8urI098047>
