cvs commit: src/sys/sys socketvar.h socketvar2.h src/sys/kern uipc_socket.c uipc_syscalls.c

Matthew Dillon dillon at
Wed Nov 7 10:26:48 PST 2007

dillon      2007/11/07 10:24:06 PST

DragonFly src repository

  Modified files:
    sys/sys              socketvar.h 
    sys/kern             uipc_socket.c uipc_syscalls.c 
  Added files:
    sys/sys              socketvar2.h 
  Separate ssb_lock() and ssb_unlock() into its own header file and reimplement
  the macro as an inline.  Using the DragonFly '2' notation for header files
  containing potentially complex inlines.
  Correct an extremely old bug that caused ssb_lock() to always return success,
  even when it failed.   This could have been responsible for miscellanious
  random network bug reports over the years.
  Reported-by: Johannes Hofmann <Johannes.Hofmann at>
  Taken-from: FreeBSD using the inline suggested by OpenBSD
  Revision  Changes    Path
  1.30      +0 -17     src/sys/sys/socketvar.h
  1.46      +1 -0      src/sys/kern/uipc_socket.c
  1.83      +1 -0      src/sys/kern/uipc_syscalls.c

More information about the Commits mailing list