Date: Sun, 29 Feb 2004 09:54:05 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sys/sys socketvar.h Message-ID: <200402291754.i1THs5hG067462@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402291754.i1THs5hG067462>
