Re: [PATCH net-next v3 06/10] net: pktgen: fix ctrl interface command parsing

2025-02-04 Thread Simon Horman
On Mon, Feb 03, 2025 at 06:01:57PM +0100, Peter Seiderer wrote: > 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:

[PATCH net-next v3 06/10] net: pktgen: fix ctrl interface command parsing

2025-02-03 Thread Peter Seiderer
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