]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netfilter_bridge/ebt_802_3.h
[PATCH] lose the unused file argument in generic_ide_ioctl()
[linux-2.6-omap-h63xx.git] / include / linux / netfilter_bridge / ebt_802_3.h
index 07f044ff1a6b41ae46e0abde048e26e85a7a8648..a11b0c2017fdf0e97c2425d0606b6088cfa8f85f 100644 (file)
@@ -54,7 +54,7 @@ struct ebt_802_3_hdr {
 
 static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb)
 {
-       return (struct ebt_802_3_hdr *)skb->mac.raw;
+       return (struct ebt_802_3_hdr *)skb_mac_header(skb);
 }
 #endif