[NET]: Fix diverter build.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8b3a70058b
commit
c3f343e4d7
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue