svn commit: r266618 - head/sys/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Sat May 24 14:01:18 UTC 2014
Author: bz
Date: Sat May 24 14:01:18 2014
New Revision: 266618
URL: http://svnweb.freebsd.org/changeset/base/266618
Log:
Make tcp_twrespond() file local private; this removes it from the
public KPI; it is not used anywhere else and seems it never was.
MFC after: 2 weeks
Modified:
head/sys/netinet/tcp_timewait.c
head/sys/netinet/tcp_var.h
Modified: head/sys/netinet/tcp_timewait.c
==============================================================================
--- head/sys/netinet/tcp_timewait.c Sat May 24 13:34:41 2014 (r266617)
+++ head/sys/netinet/tcp_timewait.c Sat May 24 14:01:18 2014 (r266618)
@@ -122,6 +122,7 @@ static VNET_DEFINE(struct rwlock, tw_loc
static void tcp_tw_2msl_reset(struct tcptw *, int);
static void tcp_tw_2msl_stop(struct tcptw *, int);
+static int tcp_twrespond(struct tcptw *, int);
/*
* tw_pcbref() bumps the reference count on an tw in order to maintain
@@ -508,7 +509,7 @@ tcp_twclose(struct tcptw *tw, int reuse)
TCPSTAT_INC(tcps_closed);
}
-int
+static int
tcp_twrespond(struct tcptw *tw, int flags)
{
struct inpcb *inp = tw->tw_inpcb;
Modified: head/sys/netinet/tcp_var.h
==============================================================================
--- head/sys/netinet/tcp_var.h Sat May 24 13:34:41 2014 (r266617)
+++ head/sys/netinet/tcp_var.h Sat May 24 14:01:18 2014 (r266618)
@@ -678,7 +678,6 @@ void tcp_tw_destroy(void);
void tcp_tw_zone_change(void);
int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *,
struct mbuf *, int);
-int tcp_twrespond(struct tcptw *, int);
void tcp_setpersist(struct tcpcb *);
#ifdef TCP_SIGNATURE
int tcp_signature_compute(struct mbuf *, int, int, int, u_char *, u_int);
More information about the svn-src-all
mailing list