diff options
| author | Edward Adam Davis <[email protected]> | 2023-11-07 08:00:40 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-11-09 02:47:07 +0000 |
| commit | b714ca2ccf6a90733f6ceb14abb6ce914f8832c3 (patch) | |
| tree | e594f02b1a2cd81e1fc59b0671a622c64ed4f199 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/... (diff) | |
| download | kernel-b714ca2ccf6a90733f6ceb14abb6ce914f8832c3.tar.gz kernel-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 <[email protected]>
Reported-and-tested-by: [email protected]
Fixes: 8f5de6fb2453 ("ptp: support multiple timestamp event readers")
Signed-off-by: Edward Adam Davis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
