summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2018-12-21 15:06:33 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-27 10:08:02 +0100
commit46625b8a4687e321394643609291ebe6637a30e1 (patch)
tree40095c5777b145c3663add9649e3ddc0c0495ed2 /drivers/mfd
parent368a5c8beed054f8069de5f480b99e8f1008ce1f (diff)
downloadlinux-stable-46625b8a4687e321394643609291ebe6637a30e1.tar.gz
linux-stable-46625b8a4687e321394643609291ebe6637a30e1.tar.bz2
linux-stable-46625b8a4687e321394643609291ebe6637a30e1.zip
pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
[ Upstream commit e6587cdbd732eacb4c7ce592ed46f7bbcefb655f ] When a connection is closing we receive on pvcalls_sk_state_change notification. Instead of setting the connection as closed immediately (-ENOTCONN), let's read one more time from it: pvcalls_conn_back_read will set the connection as closed when necessary. That way, we avoid races between pvcalls_sk_state_change and pvcalls_back_ioworker. Signed-off-by: Stefano Stabellini <stefanos@xilinx.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions