From: Christoph Hellwig <hch@lst.de>
To: davem@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] remove dead tcp exports
Date: Sun, 24 Oct 2004 15:43:09 +0200 [thread overview]
Message-ID: <20041024134309.GB20267@lst.de> (raw)
--- 1.96/include/net/tcp.h 2004-10-21 06:58:39 +02:00
+++ edited/include/net/tcp.h 2004-10-23 13:54:49 +02:00
@@ -159,7 +159,6 @@
extern void tcp_bucket_destroy(struct tcp_bind_bucket *tb);
extern void tcp_bucket_unlock(struct sock *sk);
extern int tcp_port_rover;
-extern struct sock *tcp_v4_lookup_listener(u32 addr, unsigned short hnum, int dif);
/* These are AF independent. */
static __inline__ int tcp_bhashfn(__u16 lport)
--- 1.77/net/ipv4/af_inet.c 2004-09-23 07:26:42 +02:00
+++ edited/net/ipv4/af_inet.c 2004-10-23 13:53:38 +02:00
@@ -1165,8 +1165,6 @@
EXPORT_SYMBOL(inet_stream_ops);
EXPORT_SYMBOL(inet_unregister_protosw);
EXPORT_SYMBOL(net_statistics);
-EXPORT_SYMBOL(tcp_protocol);
-EXPORT_SYMBOL(udp_protocol);
#ifdef INET_REFCNT_DEBUG
EXPORT_SYMBOL(inet_sock_nr);
--- 1.81/net/ipv4/tcp.c 2004-10-03 23:26:12 +02:00
+++ edited/net/ipv4/tcp.c 2004-10-23 13:50:23 +02:00
@@ -2307,7 +2307,6 @@
EXPORT_SYMBOL(tcp_accept);
EXPORT_SYMBOL(tcp_close);
-EXPORT_SYMBOL(tcp_close_state);
EXPORT_SYMBOL(tcp_destroy_sock);
EXPORT_SYMBOL(tcp_disconnect);
EXPORT_SYMBOL(tcp_getsockopt);
--- 1.81/net/ipv4/tcp_input.c 2004-10-03 23:31:39 +02:00
+++ edited/net/ipv4/tcp_input.c 2004-10-23 13:52:46 +02:00
@@ -4963,7 +4963,6 @@
EXPORT_SYMBOL(sysctl_tcp_ecn);
EXPORT_SYMBOL(sysctl_tcp_reordering);
-EXPORT_SYMBOL(tcp_cwnd_application_limited);
EXPORT_SYMBOL(tcp_parse_options);
EXPORT_SYMBOL(tcp_rcv_established);
EXPORT_SYMBOL(tcp_rcv_state_process);
--- 1.101/net/ipv4/tcp_ipv4.c 2004-10-20 06:50:24 +02:00
+++ edited/net/ipv4/tcp_ipv4.c 2004-10-23 13:55:16 +02:00
@@ -448,8 +448,8 @@
}
/* Optimize the common listener case. */
-inline struct sock *tcp_v4_lookup_listener(u32 daddr, unsigned short hnum,
- int dif)
+static inline struct sock *tcp_v4_lookup_listener(u32 daddr,
+ unsigned short hnum, int dif)
{
struct sock *sk = NULL;
struct hlist_head *head;
@@ -2653,7 +2653,6 @@
EXPORT_SYMBOL(tcp_v4_conn_request);
EXPORT_SYMBOL(tcp_v4_connect);
EXPORT_SYMBOL(tcp_v4_do_rcv);
-EXPORT_SYMBOL(tcp_v4_lookup_listener);
EXPORT_SYMBOL(tcp_v4_rebuild_header);
EXPORT_SYMBOL(tcp_v4_remember_stamp);
EXPORT_SYMBOL(tcp_v4_send_check);
--- 1.70/net/ipv4/tcp_output.c 2004-10-22 07:37:25 +02:00
+++ edited/net/ipv4/tcp_output.c 2004-10-23 13:57:15 +02:00
@@ -1719,12 +1719,7 @@
}
}
-EXPORT_SYMBOL(tcp_acceptable_seq);
EXPORT_SYMBOL(tcp_connect);
-EXPORT_SYMBOL(tcp_connect_init);
EXPORT_SYMBOL(tcp_make_synack);
-EXPORT_SYMBOL(tcp_send_synack);
EXPORT_SYMBOL(tcp_simple_retransmit);
EXPORT_SYMBOL(tcp_sync_mss);
-EXPORT_SYMBOL(tcp_write_wakeup);
-EXPORT_SYMBOL(tcp_write_xmit);
next reply other threads:[~2004-10-24 13:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-24 13:43 Christoph Hellwig [this message]
2004-10-26 3:07 ` [PATCH] remove dead tcp exports Werner Almesberger
2004-10-26 3:41 ` David S. Miller
2004-10-26 3:55 ` Werner Almesberger
2004-10-26 4:41 ` Lee Revell
2004-10-26 4:52 ` David S. Miller
2004-10-26 5:43 ` Lee Revell
2004-10-26 8:40 ` Arjan van de Ven
2004-10-26 9:36 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041024134309.GB20267@lst.de \
--to=hch@lst.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.