diff options
author | Edward Adam Davis <[email protected]> | 2023-11-07 16:00:40 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-08 18:47:07 -0800 |
commit | b714ca2ccf6a90733f6ceb14abb6ce914f8832c3 (patch) | |
tree | e594f02b1a2cd81e1fc59b0671a622c64ed4f199 /drivers/net/ethernet/intel/igc/igc_ptp.c | |
parent | 9b818a340c0024f8b8f36a5f8e8b4eea3afa9a77 (diff) |
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 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions