svn commit: r247658 - stable/9/sys/netinet
Florian Smeets
flo at FreeBSD.org
Sat Mar 2 17:51:23 UTC 2013
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);
More information about the svn-src-stable-9
mailing list