3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- ixp425-eth-1.1-r0/ixp425_eth.c~ethhdr
7 +++ ixp425-eth-1.1-r0/ixp425_eth.c
9 * and its constants are taken from the eth_type_trans()
12 - struct ethhdr *eth = skb->mac.ethernet;
13 + struct ethhdr *eth = eth_hdr(skb);
14 unsigned short hproto = ntohs(eth->h_proto);
18 * mode is set This costs
19 * a lookup inside the packet payload.
21 - struct ethhdr *eth = skb->mac.ethernet;
22 + struct ethhdr *eth = eth_hdr(skb);
23 unsigned char *hdest = eth->h_dest;
25 if (memcmp(hdest, dev->dev_addr, ETH_ALEN)!=0)