Miaohe Lin ce787a5a07 net: Set fput_needed iff FDPUT_FPUT is set
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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-08 14:21:42 -07:00
..
2020-06-23 20:27:09 -07:00
2020-08-03 18:24:30 -07:00
2019-09-26 08:56:17 +02:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00