Re: [PATCH] net/sfc: validate queue span when parsing flow action RSS

2022-01-25 Thread Ferruh Yigit
On 1/10/2022 9:48 PM, Ivan Malov wrote: The current code silently shrinks the value if it exceeds the supported maximum. Do not do that. Validate the value. Fixes: d77d07391d4d ("net/sfc: support flow API RSS action") Cc: sta...@dpdk.org Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko

[PATCH] net/sfc: validate queue span when parsing flow action RSS

2022-01-10 Thread Ivan Malov
The current code silently shrinks the value if it exceeds the supported maximum. Do not do that. Validate the value. Fixes: d77d07391d4d ("net/sfc: support flow API RSS action") Cc: sta...@dpdk.org Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko --- drivers/net/sfc/sfc_flow.c | 8 +