]> git.baikalelectronics.ru Git - kernel.git/commit
fcnal-test: Fix vrf argument in local tcp tests
authorDavid Ahern <dsahern@gmail.com>
Mon, 6 Jan 2020 04:02:05 +0000 (20:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:46:39 +0000 (13:46 -0800)
commit096666ab0488bf145bcc9ddf95f817d4e273de55
tree46d07faa32fe55749669390249408689db15ec30
parent3d2805c4a8a2603aab7b5c2239319919b4d3f492
fcnal-test: Fix vrf argument in local tcp tests

The recent MD5 tests added duplicate configuration in the default VRF.
This change exposed a bug in existing tests designed to verify no
connection when client and server are not in the same domain. The
server should be running bound to the vrf device with the client run
in the default VRF (the -2 option is meant for validating connection
data). Fix the option for both tests.

While technically this is a bug in previous releases, the tests are
properly failing since the default VRF does not have any routing
configuration so there really is no need to backport to prior releases.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fcnal-test.sh