Re: [PATCH net-next v5 4/8] net: pktgen: fix mpls maximum labels list parsing
From: Simon Horman
Date: Sun Feb 16 2025 - 08:59:00 EST
On Thu, Feb 13, 2025 at 12:19:16PM +0100, Peter Seiderer wrote:
> Fix mpls maximum labels list parsing up to MAX_MPLS_LABELS/16 entries
> (instead of up to MAX_MPLS_LABELS - 1).
>
> Addresses the following:
>
> $ echo "mpls 00000f00,00000f01,00000f02,00000f03,00000f04,00000f05,00000f06,00000f07,00000f08,00000f09,00000f0a,00000f0b,00000f0c,00000f0d,00000f0e,00000f0f" > /proc/net/pktgen/lo\@0
> -bash: echo: write error: Argument list too long
>
> Signed-off-by: Peter Seiderer <ps.report@xxxxxxx>
> ---
> Changes v4 -> v5
> - split up patchset into part i/ii (suggested by Simon Horman)
> - change patch description ('Fixes:' -> 'Addresses the following:',
> suggested by Simon Horman)
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>