commit | ce787a5a074a86f76f5d3fd804fa78e01bfb9e89 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Thu Aug 06 19:53:16 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 08 14:21:42 2020 -0700 |
tree | 1a05f6d3fe7007dc70a56e0ee3652d6c59de7af9 | |
parent | 6b07edebe6d31529346e553a7b309bc5251da712 [diff] |
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>