cvs commit: src/sys/netnatm natm.c

Robert Watson rwatson at FreeBSD.org
Sun Apr 23 16:25:31 UTC 2006


rwatson     2006-04-23 16:25:30 UTC

  FreeBSD src repository

  Modified files:
    sys/netnatm          natm.c 
  Log:
  Eliminate unnecessary use of labels in error unwinding cases; result is
  the same number or fewer lines of code.
  
  Don't cast using caddr_t.
  
  Remember to unlock the natm lock in some error cases where it was leaked
  previously.
  
  Annotate two cases where we'd like to hold the natm subsystem lock over
  ioctls into the device driver.
  
  Hold the natm lock longer in natm_usr_connect() so we can copy the npcb
  fields while holding the mutex.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.46      +26 -35    src/sys/netnatm/natm.c


More information about the cvs-src mailing list