X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fif_ether.h;h=f6863fbcf334851d60c1c3315cab22cbfe264f5e;hb=c14d2450cb7fe1786e2ec325172baf66922bf597;hp=ab08f35cbc355f4b2058d88ff289552f202ea5b4;hpb=52aef8183fbedb0232b20127b089e85e7aa095e3;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index ab08f35cbc3..f6863fbcf33 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h @@ -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