Re: [PATCH net-next v2 3/9] net: psample: skip packet copy if no listeners

From: Simon Horman
Date: Fri Jun 14 2024 - 12:15:48 EST


On Mon, Jun 03, 2024 at 08:56:37PM +0200, 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.
>
> Signed-off-by: Adrian Moreno <amorenoz@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>