From: "Rami Rosen" <ramirose@gmail.com>
To: "David Miller" <davem@davemloft.net>, netdev@vger.kernel.org
Subject: [PATCH net-2.6 2/2] ipv6: minor cleanup in net/ipv6/tcp_ipv6.c.
Date: Mon, 16 Jun 2008 12:09:31 +0300 [thread overview]
Message-ID: <eb3ff54b0806160209g62d8dec8h90756af506207e37@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
Hi,
In net/ipv6/tcp_ipv6.c:
1) Remove unneeded tcp_v6_send_check() declaration.
2) Unify two consecutive #ifdef CONFIG_TCP_MD5SIG (with nothing in
between them) into one #ifdef CONFIG_TCP_MD5SIG.
Regards,
Rami Rosen
Signed-off-by: Rami Rosen <ramirose@gmail.com>
[-- Attachment #2: patch2.txt --]
[-- Type: text/plain, Size: 1126 bytes --]
From 2274d94fafcfa8e1420fba7b5f081caa27d8688c Mon Sep 17 00:00:00 2001
From: root <root@sbc54.(none)>
Date: Mon, 16 Jun 2008 11:45:05 +0300
Subject: [PATCH 1220/1220] tcp_ipv6.c cleanup
Signed-off-by: root <root@sbc54.(none)>
---
net/ipv6/tcp_ipv6.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index cb46749..0a437e0 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -72,8 +72,6 @@
static void tcp_v6_send_reset(struct sock *sk, struct sk_buff *skb);
static void tcp_v6_reqsk_send_ack(struct sk_buff *skb, struct request_sock *req);
-static void tcp_v6_send_check(struct sock *sk, int len,
- struct sk_buff *skb);
static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb);
@@ -1101,9 +1099,6 @@ static void tcp_v6_send_ack(struct tcp_timewait_sock *tw,
#ifdef CONFIG_TCP_MD5SIG
struct tcp_md5sig_key *key;
struct tcp_md5sig_key tw_key;
-#endif
-
-#ifdef CONFIG_TCP_MD5SIG
if (!tw && skb->sk) {
key = tcp_v6_md5_do_lookup(skb->sk, &ipv6_hdr(skb)->daddr);
} else if (tw && tw->tw_md5_keylen) {
--
1.5.3.3
next reply other threads:[~2008-06-16 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-16 9:09 Rami Rosen [this message]
2008-06-17 0:08 ` [PATCH net-2.6 2/2] ipv6: minor cleanup in net/ipv6/tcp_ipv6.c David Miller
-- strict thread matches above, loose matches on Subject: below --
2008-06-16 9:51 Rami Rosen
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=eb3ff54b0806160209g62d8dec8h90756af506207e37@mail.gmail.com \
--to=ramirose@gmail.com \
--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).