diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-06 14:53:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:48:14 +0300 |
commit | bb70a1cbe5e470cf740f33091190b144c8a99461 (patch) | |
tree | f46b233b464f688da89182fe9bb969bc8214234e /drivers/usb | |
parent | 6de6d1ca5f3e8383cb175777f0e9aba7a3c397f5 (diff) | |
download | linux-bb70a1cbe5e470cf740f33091190b144c8a99461.tar.xz |
net: Set fput_needed iff FDPUT_FPUT is set
[ Upstream commit ce787a5a074a86f76f5d3fd804fa78e01bfb9e89 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions