From: Al Viro <viro@zeniv.linux.org.uk>
To: linmiaohe <linmiaohe@huawei.com>
Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/5] net: Set fput_needed iff FDPUT_FPUT is set
Date: Thu, 6 Aug 2020 12:59:15 +0100 [thread overview]
Message-ID: <20200806115915.GO1236603@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1596714796-25298-1-git-send-email-linmiaohe@huawei.com>
On Thu, Aug 06, 2020 at 07:53:16PM +0800, linmiaohe wrote:
> From: Miaohe Lin <linmiaohe@huawei.com>
>
> 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")
Explain, please. We are getting it from fdget(); what else can we get in flags there?
next prev parent reply other threads:[~2020-08-06 17:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-06 11:53 [PATCH 3/5] net: Set fput_needed iff FDPUT_FPUT is set linmiaohe
2020-08-06 11:59 ` Al Viro [this message]
2020-08-06 12:08 ` Al Viro
2020-08-08 21:22 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2020-08-07 9:48 linmiaohe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200806115915.GO1236603@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linmiaohe@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.