DragonFly commits List (threaded) for 2007-11
DragonFly BSD
DragonFly commits List (threaded) for 2007-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Nov 2007 10:24:06 -0800 (PST)

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@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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]