]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_ether.h
[SK_BUFF]: Introduce skb_set_network_header
[linux-2.6-omap-h63xx.git] / include / linux / if_ether.h
index ab08f35cbc355f4b2058d88ff289552f202ea5b4..f6863fbcf334851d60c1c3315cab22cbfe264f5e 100644 (file)
@@ -112,7 +112,7 @@ struct ethhdr {
 
 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb)
 {
-       return (struct ethhdr *)skb->mac.raw;
+       return (struct ethhdr *)skb_mac_header(skb);
 }
 
 #ifdef CONFIG_SYSCTL