cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sys/sys
socketvar.h
Robert Watson
rwatson at FreeBSD.org
Sun Feb 29 09:54:06 PST 2004
rwatson 2004/02/29 09:54:05 PST
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c uipc_socket2.c
sys/sys socketvar.h
Log:
Modify soalloc() API so that it accepts a malloc flags argument rather
than a "waitok" argument. Callers now passing M_WAITOK or M_NOWAIT
rather than 0 or 1. This simplifies the soalloc() logic, and also
makes the waiting behavior of soalloc() more clear in the calling
context.
Submitted by: sam
Revision Changes Path
1.163 +3 -10 src/sys/kern/uipc_socket.c
1.120 +1 -1 src/sys/kern/uipc_socket2.c
1.109 +1 -1 src/sys/sys/socketvar.h
More information about the cvs-src
mailing list