cvs commit: src/sys/netgraph ng_socket.c

Gleb Smirnoff glebius at FreeBSD.org
Tue Oct 17 12:21:49 UTC 2006


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


More information about the cvs-src mailing list