Date: Sun, 28 Oct 2007 17:52:08 +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: <200710281752.l9SHq8si018608@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2007-10-28 17:52:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph netgraph.h ng_base.c ng_socket.c Log: MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83 Implement new apply callback mechanism to handle item forwarding. When item forwarded, refence counter is incremented, when item processed, counter decremented. When counter reaches zero, apply handler is getting called. It allows to report connect() call status only when it is really completed. Reviewed by: julian Approved by: re (kensmith) Revision Changes Path 1.55.2.9 +37 -5 src/sys/netgraph/netgraph.h 1.102.2.13 +191 -66 src/sys/netgraph/ng_base.c 1.67.2.7 +13 -12 src/sys/netgraph/ng_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710281752.l9SHq8si018608>