X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_tr.h;h=046e9d95ba9a55a79999f59449d181512aff4c97;hb=c58b8e4a25a1ba347a0e5d21984c97bd296f1691;hp=5502f597cf0e8808b582c6bb8d7cc52412bd2d11;hpb=b129a8ccd53f74c43e4c83c8e0031a4990040830;p=pandora-kernel.git diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 5502f597cf0e..046e9d95ba9a 100644 --- a/include/linux/if_tr.h +++ b/include/linux/if_tr.h @@ -43,12 +43,11 @@ struct trh_hdr { }; #ifdef __KERNEL__ -#include #include 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[];