[PATCH] fixes of tcp_hostcache.c

From: Taku YAMAMOTO <taku_at_cent.saitama-u.ac.jp>
Date: Tue, 2 Dec 2003 11:56:30 +0900
Greetings,

I found two calls of bcopy() in tcp_hostcache.c got the source and the
destination pointer wrongly.
# Perhaps the author got confused with memcpy(), I guess.

The fix is attached as a patch against tcp_hostcache.c as of revision 1.2.

Please review and incorporate the patch to the tree because the bug makes
hostcache useless with TCPv6 and/or brings TTCP (RFC1644) meaningless.
Especially the bug renders it unusable to use TCPv6 and TTCP together.
# To confirm this: sysctl net.inet.tcp.rfc1644=1; telnet ::1

Best regards,
Taku
-- 
-|-__    YAMAMOTO, Taku  <taku_at_cent.saitama-u.ac.jp>
 | __ <

Received on Mon Dec 01 2003 - 17:56:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC