svn commit: r266907 - head/sys/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Fri May 30 22:34:06 UTC 2014
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;
More information about the svn-src-head
mailing list