]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_tr.h
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6-omap-h63xx.git] / include / linux / if_tr.h
index 5502f597cf0e8808b582c6bb8d7cc52412bd2d11..046e9d95ba9a55a79999f59449d181512aff4c97 100644 (file)
@@ -43,12 +43,11 @@ struct trh_hdr {
 };
 
 #ifdef __KERNEL__
-#include <linux/config.h>
 #include <linux/skbuff.h>
 
 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[];