]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/net: fix protocol family to work for IPv4.
authorManinder Singh <maninder1.s@samsung.com>
Thu, 2 Aug 2018 09:57:27 +0000 (15:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Aug 2018 17:30:12 +0000 (10:30 -0700)
commitcd111d512249a53864a61ea130f459a23e7f3ac2
tree5e7518f97eaec1f49c3a08959af9fb7760da42c9
parentf3e2e7def64caa6bb4a7b50674ede2f93a1fa583
selftest/net: fix protocol family to work for IPv4.

use actual protocol family passed by user rather than hardcoded
AF_INTE6 to cerate sockets.
current code is not working for IPv4.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Vaneet Narang <v.narang@samsung.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tcp_mmap.c