Thread (10 messages) 10 messages, 3 authors, 2022-05-06

Re: [PATCH net v3 2/2] selftests: add ping test with ping_group_range tuned

From: David Ahern <dsahern@kernel.org>
Date: 2022-05-05 04:03:09

On 5/4/22 2:07 AM, Nicolas Dichtel wrote:
The 'ping' utility is able to manage two kind of sockets (raw or icmp),
depending on the sysctl ping_group_range. By default, ping_group_range is
set to '1 0', which forces ping to use an ip raw socket.

Let's replay the ping tests by allowing 'ping' to use the ip icmp socket.
After the previous patch, ipv4 tests results are the same with both kinds
of socket. For ipv6, there are a lot a new failures (the previous patch
I'll take a look at those when I get a few minutes.
fixes only two cases).

Signed-off-by: Nicolas Dichtel <redacted>
---
 tools/testing/selftests/net/fcnal-test.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Reviewed-by: David Ahern <dsahern@kernel.org>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help