]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smc: fix sendpage() call
authorStefan Raspl <stefan.raspl@linux.ibm.com>
Thu, 3 May 2018 15:57:39 +0000 (17:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:34 +0000 (04:01 +0900)
commit1a767e7368d277c10e673844dfa69713e66b9b8c
tree6ca3d638097c901b2ec7c33b7a8d4f464fe094cb
parent3859ef2e35925ebf0a01e3badba0db4f08620acb
smc: fix sendpage() call

[ Upstream commit bda27ff5c4526f80a7620a94ecfe8dca153e3696 ]

The sendpage() call grabs the sock lock before calling the default
implementation - which tries to grab it once again.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com><
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/smc/af_smc.c