summaryrefslogtreecommitdiff
path: root/security/integrity
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-04-06 20:34:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-29 18:14:16 +0300
commitbc7581e36d40891110179251e6447a9483d6f40e (patch)
treeba51310695e1d75bca0c28b38386afe423845f8d /security/integrity
parent4f1d21c77b15b6eb60f2929bca33e34f95383b24 (diff)
downloadlinux-bc7581e36d40891110179251e6447a9483d6f40e.tar.xz
dlm: fix pending remove if msg allocation fails
[ Upstream commit ba58995909b5098ca4003af65b0ccd5a8d13dd25 ] This patch unsets ls_remove_len and ls_remove_name if a message allocation of a remove messages fails. In this case we never send a remove message out but set the per ls ls_remove_len ls_remove_name variable for a pending remove. Unset those variable should indicate possible waiters in wait_pending_remove() that no pending remove is going on at this moment. Cc: stable@vger.kernel.org Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions