X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fatm%2Fbr2684.c;h=f7955e643314b719989c491f6e2e5ed34a57b060;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=66778f43a3c18ae16ba4bdd024961c87008d143e;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/net/atm/br2684.c b/net/atm/br2684.c index 66778f43a..f7955e643 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c @@ -294,7 +294,7 @@ static inline unsigned short br_type_trans(struct sk_buff *skb, { struct ethhdr *eth; unsigned char *rawp; - eth = skb->mac.ethernet; + eth = eth_hdr(skb); if (*eth->h_dest & 1) { if (memcmp(eth->h_dest, dev->broadcast, ETH_ALEN) == 0)