cvs commit: src/sys/netgraph ng_ksocket.c ng_ksocket.h
Gleb Smirnoff
glebius at FreeBSD.org
Sun Jul 3 01:26:58 GMT 2005
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
More information about the cvs-src
mailing list