diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2022-12-29 08:41:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-30 10:37:26 +0300 |
commit | 1573c6882018f69991aead951d09423ce978adac (patch) | |
tree | 9fd3fd3e97612ee9cb2c65288e402a16e2b791db /tools/perf/scripts/python/task-analyzer.py | |
parent | a512807c24bc561f5892ae05abdf360482fb3fe2 (diff) | |
download | linux-1573c6882018f69991aead951d09423ce978adac.tar.xz |
selftests: net: fix cmsg_so_mark.sh test hang
This cmsg_so_mark.sh test will hang on non-amd64 systems because of the
infinity loop for argument parsing in cmsg_sender.
Variable "o" in cs_parse_args() for taking getopt() should be an int,
otherwise it will be 255 when getopt() returns -1 on non-amd64 system
and thus causing infinity loop.
Link: https://lore.kernel.org/lkml/CA+G9fYsM2k7mrF7W4V_TrZ-qDauWM394=8yEJ=-t1oUg8_40YA@mail.gmail.com/t/
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions