Re: [PATCH net-next v5 03/10] net: psample: skip packet copy if no listeners

From: Eelco Chaudron
Date: Wed Jun 26 2024 - 10:29:38 EST




On 25 Jun 2024, at 22:51, Adrian Moreno wrote:

> If nobody is listening on the multicast group, generating the sample,
> which involves copying packet data, seems completely unnecessary.
>
> Return fast in this case.
>
> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
> Signed-off-by: Adrian Moreno <amorenoz@xxxxxxxxxx>

Acked-by: Eelco Chaudron <echaudro@xxxxxxxxxx>