summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2022-05-10 14:56:00 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-05-11 18:03:15 +0300
commitdb1bd7a99454db5d9003ddcd64e771e265170f5b (patch)
tree61933fc029c1e486b0b586fab567049eb776f039 /include/linux
parent895b62eed2ab48c314653bcf3459521b42f9db4e (diff)
downloadlinux-db1bd7a99454db5d9003ddcd64e771e265170f5b.tar.xz
selftests: xsk: add timeout to tests
Add a timeout to the tests so that if all packets have not been received within 3 seconds, fail the ongoing test. Hinders a test from dead-locking if there is something wrong. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/r/20220510115604.8717-6-magnus.karlsson@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions