From: Evgeniy Polyakov Date: Thu, 12 Jan 2006 00:12:41 +0000 (-0800) Subject: [NET]: Fix diverter build. X-Git-Tag: v2.6.16-rc1~421^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3f343e4d7b99638b8a4f05c12b542d32405cfc4;p=linux-2.6 [NET]: Fix diverter build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/net/core/dv.c b/net/core/dv.c index c5deb36552..1516a90a13 100644 --- a/net/core/dv.c +++ b/net/core/dv.c @@ -457,7 +457,7 @@ void divert_frame(struct sk_buff *skb) unsigned char *skb_data_end = skb->data + skb->len; /* Packet is already aimed at us, return */ - if (!compare_ether_addr(eth, skb->dev->dev_addr)) + if (!compare_ether_addr(eth->h_dest, skb->dev->dev_addr)) return; /* proto is not IP, do nothing */