Re: [PATCH 3/5] net: Set fput_needed iff FDPUT_FPUT is set

From: David Miller
Date: Sat Aug 08 2020 - 17:22:11 EST


From: linmiaohe <linmiaohe@xxxxxxxxxx>
Date: Thu, 6 Aug 2020 19:53:16 +0800

> From: Miaohe Lin <linmiaohe@xxxxxxxxxx>
>
> We should fput() file iff FDPUT_FPUT is set. So we should set fput_needed
> accordingly.
>
> Fixes: 00e188ef6a7e ("sockfd_lookup_light(): switch to fdget^W^Waway from fget_light")
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Applied.