aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc/monitor.c
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2025-02-19 09:45:26 +0100
committerJakub Kicinski <kuba@kernel.org>2025-02-20 17:24:56 -0800
commit1e5e511373fe1348ed24372cf2a81234b32ac935 (patch)
tree1a421ab893878eead93bbcbf97e009d93b9b20d6 /net/tipc/monitor.c
parentnet: pktgen: fix 'ratep 0' error handling (return -EINVAL) (diff)
downloadwireguard-linux-1e5e511373fe1348ed24372cf2a81234b32ac935.tar.xz
wireguard-linux-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 <ps.report@gmx.net> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250219084527.20488-7-ps.report@gmx.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc/monitor.c')
0 files changed, 0 insertions, 0 deletions