projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364ae95
)
ipv6: local dev is actually unused in ip6_fragment
author
Denis V. Lunev
<
[email protected]
>
Wed, 8 Oct 2008 17:31:18 +0000
(10:31 -0700)
committer
David S. Miller
<
[email protected]
>
Wed, 8 Oct 2008 17:52:42 +0000
(10:52 -0700)
Signed-off-by: Denis V. Lunev <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv6/ip6_output.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ip6_output.c
b/net/ipv6/ip6_output.c
index 3df2c442d90bc7adef4ea3b2809639bf5955bce4..f22393e116664805e398b012b5b4b99d7e92cb64 100644
(file)
--- 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;