Page MenuHomeFreeBSD

D57101.diff
No OneTemporary

D57101.diff

diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1522,8 +1522,6 @@
#endif /* INET6 */
ISN_LOCK_INIT();
- EVENTHANDLER_REGISTER(shutdown_pre_sync, tcp_fini, NULL,
- SHUTDOWN_PRI_DEFAULT);
EVENTHANDLER_REGISTER(vm_lowmem, tcp_drain, NULL, LOWMEM_PRI_DEFAULT);
EVENTHANDLER_REGISTER(mbuf_lowmem, tcp_drain, NULL, LOWMEM_PRI_DEFAULT);
@@ -1629,12 +1627,6 @@
VNET_SYSUNINIT(tcp, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, tcp_destroy, NULL);
#endif
-void
-tcp_fini(void *xtp)
-{
-
-}
-
/*
* Fill in the IP and TCP headers for an outgoing packet, given the tcpcb.
* tcp_template used to store this data in mbufs, but we now recopy it out
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1396,7 +1396,6 @@
void tcp_discardcb(struct tcpcb *);
void tcp_twstart(struct tcpcb *);
int tcp_ctloutput(struct socket *, struct sockopt *);
-void tcp_fini(void *);
char *tcp_log_addrs(struct in_conninfo *, struct tcphdr *, const void *,
const void *);
char *tcp_log_vain(struct in_conninfo *, struct tcphdr *, const void *,

File Metadata

Mime Type
text/plain
Expires
Fri, May 22, 9:50 PM (17 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33431881
Default Alt Text
D57101.diff (1 KB)

Event Timeline