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:02:53 +0000 (04:02 +0900)
commit194feed06bcea86a804d2a547f34f1033faa728f
tree12cc75213f73069d3abf1b4a2a21e8829ea2db6d
parent9c0f528f6bf0abcea8291d620117b8b49fb48ab5
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