]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Make address validation apply only to client mode
authorDavid Ahern <dsahern@gmail.com>
Thu, 14 Jan 2021 03:09:44 +0000 (20:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 00:26:49 +0000 (16:26 -0800)
commitf03f65449547680c2e8be5642421b7ad75497f9e
treef07390b7a12447fb7f66d86621bb3dcbec5c6a04
parent30313f2a0d9704c5c3ccad0b61dba22245333b39
selftests: Make address validation apply only to client mode

When a single instance of nettest is used for client and server
make sure address validation is only done for client mode.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/nettest.c