Re: [PATCH] net: Fix detection for IPv4 duplicate address.

2019-08-20 Thread David Miller
From: Dongxu Liu Date: Tue, 20 Aug 2019 23:19:05 +0800 > @@ -800,8 +800,11 @@ static int arp_process(struct net *net, struct sock *sk, > struct sk_buff *skb) > iptunnel_metadata_reply(skb_metadata_dst(skb), >

[PATCH] net: Fix detection for IPv4 duplicate address.

2019-08-20 Thread Dongxu Liu
The network sends an ARP REQUEST packet to determine whether there is a host with the same IP. The source IP address of the packet is 0. However, Windows may also send the source IP address to determine, then the source IP address is equal to the destination IP address. Signed-off-by: Dongxu Liu