cvs commit: src/sys/kern uipc_socket.c

Robert Watson rwatson at FreeBSD.org
Thu Jan 6 12:23:57 PST 2005


rwatson     2005-01-06 20:23:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/kern             uipc_socket.c 
  Log:
  Merge uipc_socket.c:1.222 from HEAD to RELENG_5:
  
    date: 2004/12/23 00:59:43;  author: rwatson;  state: Exp;  lines: +3 -14
    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.208.2.7  +3 -14     src/sys/kern/uipc_socket.c


More information about the cvs-src mailing list