Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2005 11:44:24 +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:  <200511031144.jA3BiOAx075874@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-11-03 11:44:24 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netgraph         ng_socket.c 
  Log:
  MFC 1.63, 1.64, 1.65, 1.69:
  
    - Fix build with TRACE_MESSAGES on.
    - Reformat code under TRACE_MESSAGES to make it more readable.
    - Move linker hackery out of #ifdef.
    - Break long lines in linker hackery block.
    - Unwind NG_SEND_MSG_PATH() macro and merge it with already unwinded
      version under TRACE_MESSAGES.
    - Pass NG_WAITOK flag to ng_package_data() in unwinded macro.
    - Remove local error variable, which leads to hiding error from return
      value. [1]
    - When message can't fit into socket receive buffer return ENOBUFS
      to userland program instead of letting it wait until end of days. [2]
  
  PR:     kern/81371 [1]
  PR:     kern/85907 [2]
  
  Revision  Changes    Path
  1.53.2.4  +45 -46    src/sys/netgraph/ng_socket.c



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