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
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@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]