cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c

Alexander Motin mav at FreeBSD.org
Tue Mar 18 10:39:43 PDT 2008


mav         2008-03-18 17:39:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netgraph         netgraph.h ng_base.c ng_socket.c 
  Log:
  MFC:
  Improve apply callback error reporting:
  Before this patch callback returned result of the last finished call chain.
  Now it returns last nonzero result from all call chain results in this request.
  
  As soon as this improvement gives reliable error reporting, it is now possible
  to remove dirty workaround in ng_socket, made to return ENOBUFS error statuses
  of request-response operations. That workaround was responsible for returning
  ENOBUFS errors to completely unrelated requests working at the same time
  on socket.
  
  Revision    Changes    Path
  1.55.2.12   +2 -1      src/sys/netgraph/netgraph.h
  1.102.2.18  +25 -8     src/sys/netgraph/ng_base.c
  1.67.2.8    +1 -1      src/sys/netgraph/ng_socket.c


More information about the cvs-src mailing list