cvs commit: src/sys/kern uipc_socket.c

John Baldwin jhb at FreeBSD.org
Mon Mar 12 19:27:38 UTC 2007


jhb         2007-03-12 19:27:37 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_socket.c 
  Log:
  - Use m_gethdr(), m_get(), and m_clget() instead of the macros in
    sosend_copyin().
  - Use M_WAITOK instead of M_TRYWAIT in sosend_copyin().
  - Don't check for NULL from M_WAITOK and return ENOBUFS.
    M_WAITOK/M_TRYWAIT allocations don't fail with NULL.
  
  Reviewed by:    andre
  Requested by:   andre (2)
  
  Revision  Changes    Path
  1.294     +5 -20     src/sys/kern/uipc_socket.c


More information about the cvs-all mailing list