aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorPeter Seiderer <[email protected]>2025-02-19 08:45:26 +0000
committerJakub Kicinski <[email protected]>2025-02-21 01:24:56 +0000
commit1e5e511373fe1348ed24372cf2a81234b32ac935 (patch)
tree1a421ab893878eead93bbcbf97e009d93b9b20d6 /tools/testing/selftests/net/lib/py/utils.py
parentnet: pktgen: fix 'ratep 0' error handling (return -EINVAL) (diff)
downloadkernel-1e5e511373fe1348ed24372cf2a81234b32ac935.tar.gz
kernel-1e5e511373fe1348ed24372cf2a81234b32ac935.zip
net: pktgen: fix ctrl interface command parsing
Enable command writing without trailing '\n': - the good case $ echo "reset" > /proc/net/pktgen/pgctrl - the bad case (before the patch) $ echo -n "reset" > /proc/net/pktgen/pgctrl -bash: echo: write error: Invalid argument - with patch applied $ echo -n "reset" > /proc/net/pktgen/pgctrl Signed-off-by: Peter Seiderer <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions