Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 22:34:06 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266907 - head/sys/netinet
Message-ID:  <201405302234.s4UMY6uV019471@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Fri May 30 22:34:06 2014
New Revision: 266907
URL: http://svnweb.freebsd.org/changeset/base/266907

Log:
  While PAWS is disabled, there are no consumers for the tcp options
  argument to tcp_twcheck();  thus mark it __unused.
  
  MFC after:	2 weeks

Modified:
  head/sys/netinet/tcp_timewait.c

Modified: head/sys/netinet/tcp_timewait.c
==============================================================================
--- head/sys/netinet/tcp_timewait.c	Fri May 30 21:18:53 2014	(r266906)
+++ head/sys/netinet/tcp_timewait.c	Fri May 30 22:34:06 2014	(r266907)
@@ -363,7 +363,7 @@ tcp_twstart(struct tcpcb *tp)
  * looking for a pcb in the listen state.  Returns 0 otherwise.
  */
 int
-tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th,
+tcp_twcheck(struct inpcb *inp, struct tcpopt *to __unused, struct tcphdr *th,
     struct mbuf *m, int tlen)
 {
 	struct tcptw *tw;



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