[NETFILTER]: x_tables: add RATEEST target
[pandora-kernel.git] / include / linux / if_tr.h
index 2f94cf2..046e9d9 100644 (file)
@@ -47,7 +47,7 @@ struct trh_hdr {
 
 static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb)
 {
-       return (struct trh_hdr *)skb->mac.raw;
+       return (struct trh_hdr *)skb_mac_header(skb);
 }
 #ifdef CONFIG_SYSCTL
 extern struct ctl_table tr_table[];