summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_reass.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2006-06-26 16:14:19 +0000
committerandre <andre@FreeBSD.org>2006-06-26 16:14:19 +0000
commitac13cc218ded500015ec9eb52e74a2b9d240a3de (patch)
tree7a709a326c5fc7b822c117fa5d615900889d27f4 /sys/netinet/tcp_reass.c
parentfa9880c21858786bc85fd63347908d9ce307e4d6 (diff)
downloadFreeBSD-src-ac13cc218ded500015ec9eb52e74a2b9d240a3de.zip
FreeBSD-src-ac13cc218ded500015ec9eb52e74a2b9d240a3de.tar.gz
Some cleanups and janitorial work to tcp_syncache:
o don't assign remote/local host/port information manually between provided struct in_conninfo and struct syncache, bcopy() it instead o rename sc_tsrecent to sc_tsreflect in struct syncache to better capture the purpose of this field o rename sc_request_r_scale to sc_requested_r_scale for ditto reasons o fix IPSEC error case printf's to report correct function name o in syncache_socket() only transpose enhanced tcp options parameters to struct tcpcb when the inpcb doesn't has TF_NOOPT set o in syncache_respond() reorder stack variables o in syncache_respond() remove bogus KASSERT() No functional changes. Sponsored by: TCP/IP Optimization Fundraise 2005
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r--sys/netinet/tcp_reass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index 149c7d0..03834b2 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -807,6 +807,7 @@ findpcb:
if (so->so_options & SO_ACCEPTCONN) {
struct in_conninfo inc;
+ bzero(&inc, sizeof(inc));
#ifdef INET6
inc.inc_isipv6 = isipv6;
#endif
OpenPOWER on IntegriCloud