cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c
Alexander Motin
mav at FreeBSD.org
Sun Mar 16 15:06:07 PDT 2008
mav 2008-03-16 22:06:07 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
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.68.2.4 +2 -1 src/sys/netgraph/netgraph.h
1.135.2.6 +25 -8 src/sys/netgraph/ng_base.c
1.82.2.2 +1 -1 src/sys/netgraph/ng_socket.c
More information about the cvs-src
mailing list