diff options
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 2 |
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 | ||
231 | static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) | 231 | static 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 | /* |