Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-24 Thread Luoshijie (Poincare Lab)
On 2019/6/25 0:03, David Miller wrote: > From: luoshijie > Date: Tue, 18 Jun 2019 15:14:02 + > >> From: Shijie Luo >> >> When enable route_localnet, route of the 127/8 address is enabled. >> But in some situations like arp_announce=2, ARP requests or reply >> work abnormally. >> >> This patc

Re: [PATCH] ipv4: fix inet_select_addr() when enable route_localnet

2019-06-16 Thread Luoshijie (Poincare Lab)
On 2019/6/15 9:00, David Ahern wrote: > On 6/14/19 10:55 AM, luoshijie wrote: >> From: Shijie Luo >> >> Suppose we have two interfaces eth0 and eth1 in two hosts, follow >> the same steps in the two hosts: >> # sysctl -w net.ipv4.conf.eth1.route_localnet=1 >> # sysctl -w net.ipv4.conf.eth1.arp_an