Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 01:21:56 -0800
From:      Roop Nanuwa <roop@hqst.com>
To:        current@FreeBSD.org
Subject:   [PATCH] sys/netinet/tcp_output.c compile fails on -CURRENT
Message-ID:  <4029F434.1030306@hqst.com>

next in thread | raw e-mail | index | archive | help
There were some changes made to sys/netinet/tcp_output.c
for revision 1.86. If you don't have TCP_SIGNATURE enabled
then the compile fails because there's a variable 'sigoff' that's
only used inside an #ifdef TCP_SIGNATURE block. If you don't
have it enabled then the compile fails because of the warning
that the variable sigoff is declared but never used. Patch
included to get around this.

(and as I finished typing this, the current tinderbox failure
messages are coming in :) )

--roop

--- sys/netinet/tcp_output.c.orig       Wed Feb 11 00:11:28 2004
+++ sys/netinet/tcp_output.c    Wed Feb 11 00:39:37 2004
@@ -116,7 +116,9 @@
        struct socket *so = tp->t_inpcb->inp_socket;
        long len, recwin, sendwin;
        int off, flags, error;
+#ifdef TCP_SIGNATURE
        int sigoff = 0;
+#endif
        struct mbuf *m;
        struct ip *ip = NULL;
        struct ipovly *ipov = NULL;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4029F434.1030306>