]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/udp.h
[NET]: rfkill: add support for input key to control wireless radio
[linux-2.6-omap-h63xx.git] / include / linux / udp.h
index 1f58503af9a6c430b32583d4b06a846824bcc256..6de445c31a6492ae2aee3d1a906a7e993c3b64cb 100644 (file)
@@ -31,7 +31,7 @@ struct udphdr {
 
 static inline struct udphdr *udp_hdr(const struct sk_buff *skb)
 {
-       return (struct udphdr *)skb->h.raw;
+       return (struct udphdr *)skb_transport_header(skb);
 }
 #endif