Date: Sat, 24 May 2014 14:01:18 +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: r266618 - head/sys/netinet Message-ID: <201405241401.s4OE1IBZ009986@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405241401.s4OE1IBZ009986>