cvs commit: src/sbin/ifconfig ifconfig.c

Yar Tikhiy yar at
Mon Mar 12 13:08:57 UTC 2007

yar         2007-03-12 13:08:56 UTC

  FreeBSD src repository

  Modified files:
    sbin/ifconfig        ifconfig.c 
  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

More information about the cvs-src mailing list