aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r--include/linux/ipv6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index b768fcc0a4c4..09ea01a8a99c 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -230,7 +230,7 @@ static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb)
230 230
231static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) 231static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb)
232{ 232{
233 return (struct ipv6hdr *)skb->h.raw; 233 return (struct ipv6hdr *)skb_transport_header(skb);
234} 234}
235 235
236/* 236/*