From: Stephen Hemminger <stephen@networkplumber.org>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next 5/10] tcp: make local functions static
Date: Mon, 16 Dec 2013 10:40:37 -0800 [thread overview]
Message-ID: <20131216104037.314a429b@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <20131216103606.62524131@nehalam.linuxnetplumber.net>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
--- a/include/net/tcp.h 2013-12-12 12:59:44.620705224 -0800
+++ b/include/net/tcp.h 2013-12-12 13:01:33.463099974 -0800
@@ -468,7 +468,6 @@ struct sk_buff *tcp_make_synack(struct s
struct tcp_fastopen_cookie *foc);
int tcp_disconnect(struct sock *sk, int flags);
-void tcp_connect_init(struct sock *sk);
void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
@@ -623,8 +622,6 @@ static inline u32 __tcp_set_rto(const st
return (tp->srtt >> 3) + tp->rttvar;
}
-void tcp_set_rto(struct sock *sk);
-
static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd)
{
tp->pred_flags = htonl((tp->tcp_header_len << 26) |
--- a/net/ipv4/tcp_input.c 2013-12-12 12:59:44.620705224 -0800
+++ b/net/ipv4/tcp_input.c 2013-12-12 13:01:24.807227669 -0800
@@ -766,7 +766,7 @@ static void tcp_update_pacing_rate(struc
/* Calculate rto without backoff. This is the second half of Van Jacobson's
* routine referred to above.
*/
-void tcp_set_rto(struct sock *sk)
+static void tcp_set_rto(struct sock *sk)
{
const struct tcp_sock *tp = tcp_sk(sk);
/* Old crap is replaced with new one. 8)
--- a/net/ipv4/tcp_output.c 2013-12-12 12:59:44.576705873 -0800
+++ b/net/ipv4/tcp_output.c 2013-12-12 13:01:33.463099974 -0800
@@ -2762,7 +2762,7 @@ struct sk_buff *tcp_make_synack(struct s
EXPORT_SYMBOL(tcp_make_synack);
/* Do all connect socket setups that can be done AF independent. */
-void tcp_connect_init(struct sock *sk)
+static void tcp_connect_init(struct sock *sk)
{
const struct dst_entry *dst = __sk_dst_get(sk);
struct tcp_sock *tp = tcp_sk(sk);
next prev parent reply other threads:[~2013-12-16 19:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-16 18:36 [PATCH net-next 1/10] ipv4: make fib_detect_death static Stephen Hemminger
2013-12-16 18:37 ` [PATCH net-next 2/10] arp: make arp_invalidate static Stephen Hemminger
2013-12-16 18:38 ` [PATCH net-next 3/10] ipv4: remove unused function Stephen Hemminger
2013-12-16 18:39 ` [PATCH net-next 4/10] ipv4: ping make local stuff static Stephen Hemminger
2013-12-16 18:40 ` Stephen Hemminger [this message]
2013-12-16 18:42 ` [PATCH net-next 6/10] bonding: make local function static Stephen Hemminger
2013-12-16 18:43 ` [PATCH net-next 7/10] ipv6: make icmpv6_route_lookup static Stephen Hemminger
2013-12-16 18:44 ` [PATCH net-next 8/10] socket: make cred_to_ucred static Stephen Hemminger
2013-12-16 18:45 ` [PATCH net-next 9/10] lro: remove unused code Stephen Hemminger
2013-12-16 19:54 ` Ben Hutchings
2013-12-17 22:20 ` David Miller
2013-12-16 19:29 ` [PATCH net-next 10/10] dccp: remove dead code Stephen Hemminger
2013-12-16 19:39 ` [PATCH net-next 10/10] dccp: remove unused code Stephen Hemminger
2013-12-16 22:27 ` Gerrit Renker
2013-12-17 22:20 ` [PATCH net-next 1/10] ipv4: make fib_detect_death static David Miller
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=20131216104037.314a429b@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=davem@davemloft.net \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).