From: Dan Carpenter <[email protected]> Date: Tue, 5 May 2020 23:47:21 +0300
> This code frees "sfi" and then dereferences it on the next line.
>
> Fixes: 888ae5a3952b ("net: enetc: add tc flower psfp offload driver")
> Signed-off-by: Dan Carpenter <[email protected]>
This was fixed in another patch by using the local variable 'index'.
