Date: Sat, 2 Mar 2013 17:51:23 +0000 (UTC) From: Florian Smeets <flo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247658 - stable/9/sys/netinet Message-ID: <201303021751.r22HpNgB082876@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: flo (ports committer) Date: Sat Mar 2 17:51:22 2013 New Revision: 247658 URL: http://svnweb.freebsd.org/changeset/base/247658 Log: MFC: r242854 (by rdivacky) Initialize hdrlen to 0 to avoid clang warning in NOINET case. This fixes the kernel build for INET6 only kernels. Approved by: cognet Modified: stable/9/sys/netinet/tcp_timewait.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netinet/tcp_timewait.c ============================================================================== --- stable/9/sys/netinet/tcp_timewait.c Sat Mar 2 17:39:20 2013 (r247657) +++ stable/9/sys/netinet/tcp_timewait.c Sat Mar 2 17:51:22 2013 (r247658) @@ -519,6 +519,7 @@ tcp_twrespond(struct tcptw *tw, int flag struct ip6_hdr *ip6 = NULL; int isipv6 = inp->inp_inc.inc_flags & INC_ISIPV6; #endif + hdrlen = 0; /* Keep compiler happy */ INP_WLOCK_ASSERT(inp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303021751.r22HpNgB082876>