On Mon, Mar 12, 2007 at 01:08:56PM +0000, Yar Tikhiy wrote: > 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. Great catch! I had been wondering why it had been necessary to unload networking modules twice lately.
Andrew _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
