Re: [PATCH] macsec: Fix invalid error code set
From: Saeed Mahameed
Date: Thu Nov 17 2022 - 21:50:02 EST
On 18 Nov 09:12, YueHaibing wrote:
'ret' is defined twice in macsec_changelink(), when it is set in macsec_is_offloaded
case, it will be invalid before return.
Fixes: 3cf3227a21d1 ("net: macsec: hardware offloading infrastructure")
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
I have the same exact patch lined up in my internal queue.
this needs to go to net: so for next time please tag [PATCH net].
Reviewed-by: Saeed Mahameed <saeed@xxxxxxxxxx>