cvs commit: src/sys/netgraph ng_socket.c

Gleb Smirnoff glebius at FreeBSD.org
Thu Nov 3 03:44:25 PST 2005


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


More information about the cvs-src mailing list