Date: Thu, 23 Dec 2004 00:59:43 +0000 (UTC) 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 Message-ID: <200412230059.iBN0xhAL094907@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-12-23 00:59:43 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: In soalloc(), simplify the mac_init_socket() handling to remove unnecessary use of a global variable and simplify the return case. While here, use ()'s around return values. In sodealloc(), remove a comment about why we bump the gencnt and decrement the socket count separately. It doesn't add substantially to the reading, and clutters the function. MFC after: 2 weeks Revision Changes Path 1.222 +3 -14 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412230059.iBN0xhAL094907>