]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/icmp.h
Merge branch 'sched/new-API-sched_setscheduler' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-omap-h63xx.git] / include / linux / icmp.h
index cd3017a157897da1cfcf2c7542deccec114194d0..474f2a51cf0af66474be229b626403975a36683c 100644 (file)
@@ -87,7 +87,7 @@ struct icmphdr {
 
 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb)
 {
-       return (struct icmphdr *)skb->h.raw;
+       return (struct icmphdr *)skb_transport_header(skb);
 }
 #endif