Date: Sat, 19 Feb 2005 14:35:01 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_ksocket.c ng_ksocket.h Message-ID: <200502191435.j1JEZ153027692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-02-19 14:35:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/netgraph ng_ksocket.c ng_ksocket.h Log: MFC rev. 1.12 of ng_ksocket.h; 1.49-1.50 of ng_ksocket.c When netgraph(4) was converted to use mbuf_tags(9) instead of meta-data a definite setup was broken: two ng_ksockets are connected to each other, connect()ed to different remote hosts, and bind()ed to different local interfaces. In this case one ng_ksocket is fooled with tag from the other one. Put node id into tag. In rcvdata method utilize tag only if it has our own id inside or id equals zero. The latter case is added to support packets send by some third, not ng_ksocket node. Revision Changes Path 1.46.2.3 +11 -4 src/sys/netgraph/ng_ksocket.c 1.10.2.2 +1 -0 src/sys/netgraph/ng_ksocket.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502191435.j1JEZ153027692>