[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>
This commit is contained in:

committed by
David S. Miller

parent
514bca322c
commit
bff9b61ce3
@@ -506,7 +506,7 @@ looped_back:
|
||||
kfree_skb(skb);
|
||||
*skbp = skb = skb2;
|
||||
opt = IP6CB(skb2);
|
||||
hdr = (struct ipv6_rt_hdr *) skb2->h.raw;
|
||||
hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb2);
|
||||
}
|
||||
|
||||
if (skb->ip_summed == CHECKSUM_COMPLETE)
|
||||
|
Reference in New Issue
Block a user