From: Shijie Luo <luoshij...@huawei.com>

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 patchset fix some bugs when enable route_localnet. 

Change History:
V2:
- Change a single patch to a patchset.
- Add bug fix for arp_ignore = 3.
- Add a couple of test for enabling route_localnet in selftests.

Shijie Luo (3):
  ipv4: fix inet_select_addr() when enable route_localnet
  ipv4: fix confirm_addr_indev() when enable route_localnet
  selftests: add route_localnet test script

 net/ipv4/devinet.c                            | 15 +++-
 tools/testing/selftests/net/route_localnet.sh | 74 +++++++++++++++++++
 2 files changed, 86 insertions(+), 3 deletions(-)
 create mode 100755 tools/testing/selftests/net/route_localnet.sh

-- 
2.19.1

Reply via email to