diff options
| author | Qingfang Deng <qingfang.deng@linux.dev> | 2026-08-11 14:02:29 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-12 17:14:20 -0700 |
| commit | 095887cb96a36b917dbdf163c165e2f294d8eefa (patch) | |
| tree | 6082d493020e35f31a208872d13726066e2fa016 /tools/perf/scripts/python/task-analyzer.py | |
| parent | ac155a26750a595703e7dadff84735456d75a479 (diff) | |
ppp: annotate lockless queue empty check
ppp_poll() checks whether pf->rq contains a packet without holding the
queue lock. skb_peek() requires appropriate locking or a private queue,
neither of which applies because ppp_input() can enqueue concurrently.
Only queue emptiness is needed, so use skb_queue_empty_lockless()
instead.
Cc: stable+noautosel@kernel.org # race annotation
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Reviewed-by: Breno Leitao <leitao@debian.org.
Link: https://patch.msgid.link/20260811060236.322284-1-qingfang.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
