diff options
author | 2023-11-07 16:00:40 +0800 | |
---|---|---|
committer | 2023-11-08 18:47:07 -0800 | |
commit | b714ca2ccf6a90733f6ceb14abb6ce914f8832c3 (patch) | |
tree | e594f02b1a2cd81e1fc59b0671a622c64ed4f199 /scripts/gdb/linux/tasks.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-b714ca2ccf6a90733f6ceb14abb6ce914f8832c3.tar.xz wireguard-linux-b714ca2ccf6a90733f6ceb14abb6ce914f8832c3.zip |
ptp: ptp_read should not release queue
Firstly, queue is not the memory allocated in ptp_read;
Secondly, other processes may block at ptp_read and wait for conditions to be
met to perform read operations.
Acked-by: Richard Cochran <richardcochran@gmail.com>
Reported-and-tested-by: syzbot+df3f3ef31f60781fa911@syzkaller.appspotmail.com
Fixes: 8f5de6fb2453 ("ptp: support multiple timestamp event readers")
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Link: https://lore.kernel.org/r/tencent_18747D76F1675A3C633772960237544AAA09@qq.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions