]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
udmabuf: actually unmap the scatterlist
authorLucas Stach <l.stach@pengutronix.de>
Tue, 4 Jun 2019 20:23:31 +0000 (22:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:34:52 +0000 (11:34 +0800)
commit4fe18137a3575d9e46c7fd6d4f435c5eae5d89d7
tree8648b82e00efd85bde544139a1475fd4c1a1c33d
parent08f02cc91dfae4670c3163d31f8b24e318f1f72e
udmabuf: actually unmap the scatterlist

[ Upstream commit 283f1e383e91d96fe652fad549537ae15cf31d60 ]

unmap_udmabuf fails to actually unmap the scatterlist, leaving dangling
mappings around.

Fixes: fbb0de795078 ("Add udmabuf misc device")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190604202331.17482-1-l.stach@pengutronix.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma-buf/udmabuf.c