cvs commit: src/sys/compat/linux linux_ioctl.c

Craig Rodrigues rodrigc at FreeBSD.org
Sat Aug 27 14:44:11 GMT 2005


rodrigc     2005-08-27 14:44:11 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_ioctl.c 
  Log:
  Rewrite linux_ifconf() to be more like ifconf() in net/if.c
  so that we do not call uiomove() while IFNET_RLOCK() is held.
  This eliminates the witness warning:
  
  Calling uiomove() with the following non-sleepable locks held:
  exclusive sleep mutex ifnet r = 0 (0xc096dd60) locked @
  /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2170
  
  MFC after:      2 days
  
  Revision  Changes    Path
  1.129     +39 -25    src/sys/compat/linux/linux_ioctl.c


More information about the cvs-all mailing list