X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_tr.h;h=046e9d95ba9a55a79999f59449d181512aff4c97;hb=57eb06e584be3b702d1ba5c39e0b57ddcdabdc66;hp=5502f597cf0e8808b582c6bb8d7cc52412bd2d11;hpb=2fcf522509cceea524b6e7ece8fd6759b682175a;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 5502f597cf0..046e9d95ba9 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[];