]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC:
authormav <mav@FreeBSD.org>
Tue, 18 Mar 2008 17:39:42 +0000 (17:39 +0000)
committermav <mav@FreeBSD.org>
Tue, 18 Mar 2008 17:39:42 +0000 (17:39 +0000)
commit56502c9d8991c54188d3fac1bc617769d89be8a3
tree555a9d4189e9bda49b2b3cf5bd5036ecc9b61609
parentfcb865fb9ae82cd8d27a1682368a014f63f8aa68
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.
sys/netgraph/netgraph.h
sys/netgraph/ng_base.c
sys/netgraph/ng_socket.c