netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fix bugs when enable route_localnet
@ 2019-06-18 15:14 luoshijie
  2019-06-18 15:14 ` [PATCH v2 1/3] ipv4: fix inet_select_addr() " luoshijie
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: luoshijie @ 2019-06-18 15:14 UTC (permalink / raw)
  To: davem, tgraf, dsahern
  Cc: netdev, liuzhiqiang26, wangxiaogang3, mingfangsen, zhoukang7

From: Shijie Luo <luoshijie1@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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-06-25  1:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18 15:14 [PATCH v2 0/3] fix bugs when enable route_localnet luoshijie
2019-06-18 15:14 ` [PATCH v2 1/3] ipv4: fix inet_select_addr() " luoshijie
2019-06-18 15:14 ` [PATCH v2 2/3] ipv4: fix confirm_addr_indev() " luoshijie
2019-06-18 15:14 ` [PATCH v2 3/3] selftests: add route_localnet test script luoshijie
2019-06-22  8:41 ` [PATCH v2 0/3] fix bugs when enable route_localnet Zhiqiang Liu
2019-06-22 12:46   ` David Miller
2019-06-24  1:19     ` Zhiqiang Liu
2019-06-24  3:47     ` David Ahern
2019-06-24 16:03 ` David Miller
2019-06-25  1:25   ` Zhiqiang Liu
2019-06-25  1:50   ` Luoshijie (Poincare Lab)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).