cvs commit: src/sys/kern uipc_socket.c

Mohan Srinivasan mohans at FreeBSD.org
Wed Nov 22 14:22:55 PST 2006


mohans      2006-11-22 22:21:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             uipc_socket.c 
  Log:
  Fix a race in soclose() where connections could be queued to the
  listening socket after the pass that cleans those queues. This
  results in these connections being orphaned (and leaked). The fix
  is to clean up the so queues after detaching the socket from the
  protocol. Thanks to ups and jhb for discussions and a thorough code
  review.
  Approved by: re
  
  Revision   Changes    Path
  1.242.2.7  +23 -23    src/sys/kern/uipc_socket.c


More information about the cvs-all mailing list