Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 20:23:57 +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:  <200501062023.j06KNvga042152@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501062023.j06KNvga042152>