summaryrefslogtreecommitdiff
path: root/include/linux/rfkill.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-05-24 12:02:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-30 16:31:51 +0200
commitaaa9d8d8425c6d284120be3269d194d1814e6894 (patch)
tree3cc00952a78acd7ac4fb6c54a927a2501a0d78fd /include/linux/rfkill.h
parent564addc053b64e3632b287ce56959e1727529528 (diff)
fs: dlm: fix mismatch of plock results from userspace
[ Upstream commit 57e2c2f2d94cfd551af91cedfa1af6d972487197 ] When a waiting plock request (F_SETLKW) is sent to userspace for processing (dlm_controld), the result is returned at a later time. That result could be incorrectly matched to a different waiting request in cases where the owner field is the same (e.g. different threads in a process.) This is fixed by comparing all the properties in the request and reply. The results for non-waiting plock requests are now matched based on list order because the results are returned in the same order they were sent. 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 'include/linux/rfkill.h')
0 files changed, 0 insertions, 0 deletions