Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 14:09:26 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r270057 - stable/10/sys/netinet
Message-ID:  <201408161409.s7GE9QJ0060978@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat Aug 16 14:09:26 2014
New Revision: 270057
URL: http://svnweb.freebsd.org/changeset/base/270057

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

Modified:
  stable/10/sys/netinet/tcp_timewait.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/tcp_timewait.c
==============================================================================
--- stable/10/sys/netinet/tcp_timewait.c	Sat Aug 16 14:05:31 2014	(r270056)
+++ stable/10/sys/netinet/tcp_timewait.c	Sat Aug 16 14:09:26 2014	(r270057)
@@ -350,7 +350,7 @@ tcp_twrecycleable(struct tcptw *tw)
  * 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?201408161409.s7GE9QJ0060978>