diff options
author | 2025-08-27 19:17:32 +0200 | |
---|---|---|
committer | 2025-09-04 09:19:24 +0200 | |
commit | 661a4f307fe0f80c1d544e09476ccba9037e8e65 (patch) | |
tree | 98ec1c30b505dda4c6c89960b64ae636ea732543 /drivers/usb/host/imx21-dbg.c | |
parent | ax25: properly unshare skbs in ax25_kiss_rcv() (diff) | |
download | wireguard-linux-661a4f307fe0f80c1d544e09476ccba9037e8e65.tar.xz wireguard-linux-661a4f307fe0f80c1d544e09476ccba9037e8e65.zip |
selftests: netfilter: fix udpclash tool hang
Yi Chen reports that 'udpclash' loops forever depending on compiler
(and optimization level used); while (x == 1) gets optimized into
for (;;). Add volatile qualifier to avoid that.
While at it, also run it under timeout(1) and fix the resize script
to not ignore the timeout passed as second parameter to insert_flood.
Reported-by: Yi Chen <yiche@redhat.com>
Suggested-by: Yi Chen <yiche@redhat.com>
Fixes: 78a588363587 ("selftests: netfilter: add conntrack clash resolution test case")
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'drivers/usb/host/imx21-dbg.c')
0 files changed, 0 insertions, 0 deletions