Date: Sun, 16 Mar 2008 22:06:07 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c Message-ID: <200803162206.m2GM67RC070936@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803162206.m2GM67RC070936>