netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Denis V. Lunev" <den@openvz.org>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, dlezcano@fr.ibm.com,
	benjamin.thery@bull.net, xemul@openvz.org,
	yoshfuji@linux-ipv6.org, "Denis V. Lunev" <den@openvz.org>
Subject: [PATCH net-next 01/14] ipv6: local dev is actually unused in ip6_fragment
Date: Wed,  8 Oct 2008 15:51:49 +0400	[thread overview]
Message-ID: <1223466722-8169-1-git-send-email-den@openvz.org> (raw)
In-Reply-To: <1223466685.7184.13.camel@iris.sw.ru>

Signed-off-by: Denis V. Lunev <den@openvz.org>
---
 net/ipv6/ip6_output.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 3df2c44..f22393e 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -613,7 +613,6 @@ int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr)
 
 static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
 {
-	struct net_device *dev;
 	struct sk_buff *frag;
 	struct rt6_info *rt = (struct rt6_info*)skb->dst;
 	struct ipv6_pinfo *np = skb->sk ? inet6_sk(skb->sk) : NULL;
@@ -624,7 +623,6 @@ static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
 	int ptr, offset = 0, err=0;
 	u8 *prevhdr, nexthdr = 0;
 
-	dev = rt->u.dst.dev;
 	hlen = ip6_find_1stfragopt(skb, &prevhdr);
 	nexthdr = *prevhdr;
 
-- 
1.5.3.rc5


  reply	other threads:[~2008-10-08 11:53 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08 11:51 [PATCH net-next 0/14] ipv6: making IP/ICMP mibs per/namespace Denis V. Lunev
2008-10-08 11:51 ` Denis V. Lunev [this message]
2008-10-08 18:09   ` [PATCH net-next 01/14] ipv6: local dev is actually unused in ip6_fragment David Miller
2008-10-08 11:51 ` [PATCH net-next 02/14] ipv6: consolidate error paths in ipv6_frag_rcv Denis V. Lunev
2008-10-08 18:09   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 03/14] netns: add net parameter to IP6_INC_STATS Denis V. Lunev
2008-10-08 18:09   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 04/14] ipv6: added net argument to IP6_INC_STATS_BH Denis V. Lunev
2008-10-08 18:13   ` David Miller
2008-10-08 19:07     ` Denis V. Lunev
2008-10-08 11:51 ` [PATCH net-next 05/14] ipv6: added net argument to IP6_ADD_STATS_BH Denis V. Lunev
2008-10-08 18:13   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 06/14] ipv6: added net argument to ICMP6_INC_STATS Denis V. Lunev
2008-10-08 18:14   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 07/14] ipv6: added net argument to ICMP6_INC_STATS_BH Denis V. Lunev
2008-10-08 18:14   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 08/14] ipv6: added net argument to ICMP6MSGOUT_INC_STATS Denis V. Lunev
2008-10-08 18:14   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 09/14] ipv6: added net argument to ICMP6MSGOUT_INC_STATS_BH Denis V. Lunev
2008-10-08 18:15   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 10/14] ipv6: ICMP6MSGIN_INC_STATS is not used Denis V. Lunev
2008-10-08 17:37   ` David Stevens
2008-10-08 18:23     ` David Miller
2008-10-08 18:15   ` David Miller
2008-10-08 11:51 ` [PATCH net-next 11/14] ipv6: added net argument to ICMP6MSGIN_INC_STATS_BH Denis V. Lunev
2008-10-08 18:16   ` David Miller
2008-10-08 11:52 ` [PATCH net-next 12/14] ipv6: added net argument to _DEVINC/_DEVADD Denis V. Lunev
2008-10-08 18:16   ` David Miller
2008-10-08 11:52 ` [PATCH net-next 13/14] ipv6: making ip and icmp statistics per/namespace Denis V. Lunev
2008-10-08 18:16   ` David Miller
2008-10-08 11:52 ` [PATCH net-next 14/14] ipv6: remove unused not init_ipv6_mibs/cleanup_ipv6_mibs Denis V. Lunev
2008-10-08 18:17   ` 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=1223466722-8169-1-git-send-email-den@openvz.org \
    --to=den@openvz.org \
    --cc=benjamin.thery@bull.net \
    --cc=davem@davemloft.net \
    --cc=dlezcano@fr.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=xemul@openvz.org \
    --cc=yoshfuji@linux-ipv6.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).