Author: bz
Date: Sat Aug 16 13:58:45 2014
New Revision: 270054
URL: http://svnweb.freebsd.org/changeset/base/270054

Log:
  MFC r266618:
  
   Make tcp_twrespond() file local private;  this removes it from the
   public KPI; it is not used anywhere else and seems it never was.

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

Modified: stable/10/sys/netinet/tcp_timewait.c
==============================================================================
--- stable/10/sys/netinet/tcp_timewait.c        Sat Aug 16 13:55:44 2014        
(r270053)
+++ stable/10/sys/netinet/tcp_timewait.c        Sat Aug 16 13:58:45 2014        
(r270054)
@@ -105,6 +105,7 @@ static VNET_DEFINE(TAILQ_HEAD(, tcptw), 
 
 static void    tcp_tw_2msl_reset(struct tcptw *, int);
 static void    tcp_tw_2msl_stop(struct tcptw *);
+static int     tcp_twrespond(struct tcptw *, int);
 
 static int
 tcptw_auto_size(void)
@@ -501,7 +502,7 @@ tcp_twclose(struct tcptw *tw, int reuse)
        uma_zfree(V_tcptw_zone, tw);
 }
 
-int
+static int
 tcp_twrespond(struct tcptw *tw, int flags)
 {
        struct inpcb *inp = tw->tw_inpcb;

Modified: stable/10/sys/netinet/tcp_var.h
==============================================================================
--- stable/10/sys/netinet/tcp_var.h     Sat Aug 16 13:55:44 2014        
(r270053)
+++ stable/10/sys/netinet/tcp_var.h     Sat Aug 16 13:58:45 2014        
(r270054)
@@ -695,7 +695,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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to