diff options
author | Rémi Denis-Courmont <courmisch@gmail.com> | 2024-02-18 10:12:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-01 13:41:58 +0100 |
commit | 8ef4fcc7014b9f93619851d6b78d6cc2789a4c88 (patch) | |
tree | 974d1b75ac7842cca1226bd86a04c8fbbf7ed9de /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ac800b4cc9239f72c3a383f53b0803143b6b1429 (diff) |
phonet/pep: fix racy skb_queue_empty() use
[ Upstream commit 7d2a894d7f487dcb894df023e9d3014cf5b93fe5 ]
The receive queues are protected by their respective spin-lock, not
the socket lock. This could lead to skb_peek() unexpectedly
returning NULL or a pointer to an already dequeued socket buffer.
Fixes: 9641458d3ec4 ("Phonet: Pipe End Point for Phonet Pipes protocol")
Signed-off-by: Rémi Denis-Courmont <courmisch@gmail.com>
Link: https://lore.kernel.org/r/20240218081214.4806-2-remi@remlab.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions