]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Don't handle errors if the bind/connect succeeded
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 15 Aug 2019 21:26:17 +0000 (17:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 08:23:47 +0000 (10:23 +0200)
commit839e96131567369c509d4c8955686ed6558b88f7
treef1c85867c4972bb0ee5ffae96470ce9c26c092d5
parent90ff6dd4ced610dac6c32dbeaa3899aead7b2908
SUNRPC: Don't handle errors if the bind/connect succeeded

commit bd736ed3e2d1088d9b4050f727342e1e619c3841 upstream.

Don't handle errors in call_bind_status()/call_connect_status()
if it turns out that a previous call caused it to succeed.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v5.1+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/clnt.c