Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 12:21:48 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netgraph ng_socket.c
Message-ID:  <200610171221.k9HCLmNI075973@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2006-10-17 12:21:48 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_socket.c 
  Log:
  Some cleanup and small changes:
    - Use malloc() and free() instead of MALLOC() and FREE() macros.
    - Do not check malloc results if M_WAITOK was used.
    - Remove linked list of all netgraph sockets. It isn't needed.
    - Use ng_findhook() instead of searching the list ourselves.
    - Use NG_WAITOK in syscalls.
    - Remove unneeded includes.
    - style(9)
  
  Revision  Changes    Path
  1.78      +74 -121   src/sys/netgraph/ng_socket.c



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