cvs commit: src/sys/kern uipc_socket.c
Robert Watson
rwatson at FreeBSD.org
Wed Dec 22 16:59:43 PST 2004
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
More information about the cvs-src
mailing list