cvs commit: src/sys/kern kern_descrip.c

Robert Watson rwatson at
Sat Apr 1 11:09:55 UTC 2006

rwatson     2006-04-01 11:09:54 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c 
  Mark fgetsock() and fputsock() as depcrecated: callers should rely on
  the file descriptor reference, rather than paying additional lock
  operations to acquire a socket reference from the file descriptor.
  This will also help to ensure that file descriptor based socket
  requests are not delivered to a socket after close.  Most consumers
  have already been converted to this model.
  MFC after:      3 months
  Revision  Changes    Path
  1.294     +8 -2      src/sys/kern/kern_descrip.c

More information about the cvs-src mailing list