aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/exthdrs.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-16 16:19:57 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:26:18 -0400
commitbff9b61ce330df04c6830d823c30c04203543f01 (patch)
tree19525bb3d690a421ebd48efa578736ea1e4ca3e2 /net/ipv6/exthdrs.c
parent514bca322cb9220308d22691ac1e74038bfabac3 (diff)
[SK_BUFF]: Use the helpers to get the layer header pointer
Some more cases... Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/exthdrs.c')
-rw-r--r--net/ipv6/exthdrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c
index f25ee773f52e..f763409ea740 100644
--- a/net/ipv6/exthdrs.c
+++ b/net/ipv6/exthdrs.c
@@ -506,7 +506,7 @@ looped_back:
506 kfree_skb(skb); 506 kfree_skb(skb);
507 *skbp = skb = skb2; 507 *skbp = skb = skb2;
508 opt = IP6CB(skb2); 508 opt = IP6CB(skb2);
509 hdr = (struct ipv6_rt_hdr *) skb2->h.raw; 509 hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb2);
510 } 510 }
511 511
512 if (skb->ip_summed == CHECKSUM_COMPLETE) 512 if (skb->ip_summed == CHECKSUM_COMPLETE)