diff options
author | Adrian Moreno <amorenoz@redhat.com> | 2024-12-17 22:16:51 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-18 19:18:41 -0800 |
commit | a17975992cc11588767175247ccaae1213a8b582 (patch) | |
tree | f878fe05ebb67d295e203df9db4631a02e28a2ba /drivers/net/ethernet/intel/idpf/idpf_virtchnl.h | |
parent | dbfca1641e697fa088a1cd7e305b47db1dfd3567 (diff) | |
download | lwn-a17975992cc11588767175247ccaae1213a8b582.tar.gz lwn-a17975992cc11588767175247ccaae1213a8b582.zip |
selftests: openvswitch: fix tcpdump execution
Fix the way tcpdump is executed by:
- Using the right variable for the namespace. Currently the use of the
empty "ns" makes the command fail.
- Waiting until it starts to capture to ensure the interesting traffic
is caught on slow systems.
- Using line-buffered output to ensure logs are available when the test
is paused with "-p". Otherwise the last chunk of data might only be
written when tcpdump is killed.
Fixes: 74cc26f416b9 ("selftests: openvswitch: add interface support")
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Link: https://patch.msgid.link/20241217211652.483016-1-amorenoz@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/idpf/idpf_virtchnl.h')
0 files changed, 0 insertions, 0 deletions