summaryrefslogtreecommitdiff
path: root/tools/laptop
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@kernel.org>2021-12-11 20:21:08 +0300
committerDavid S. Miller <davem@davemloft.net>2021-12-12 19:24:27 +0300
commit0f108ae4452025fef529671998f6c7f1c4526790 (patch)
tree4d5659924099f24ca1b41547c7c70f8aa7dc6434 /tools/laptop
parent7e0147592b5c4f9e2eb8c54a7857a56d4863f74e (diff)
downloadlinux-0f108ae4452025fef529671998f6c7f1c4526790.tar.xz
selftests: Fix raw socket bind tests with VRF
Commit referenced below added negative socket bind tests for VRF. The socket binds should fail since the address to bind to is in a VRF yet the socket is not bound to the VRF or a device within it. Update the expected return code to check for 1 (bind failure) so the test passes when the bind fails as expected. Add a 'show_hint' comment to explain why the bind is expected to fail. Fixes: 75b2b2b3db4c ("selftests: Add ipv4 address bind tests to fcnal-test") Reported-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/laptop')
0 files changed, 0 insertions, 0 deletions