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

Matthew Dillon dillon at crater.dragonflybsd.org
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 
  Log:
  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 gmx.de>
  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


http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.29&r2=1.30&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.82&r2=1.83&f=u





More information about the Commits mailing list