diff options
author | 2022-02-14 19:45:34 +0200 | |
---|---|---|
committer | 2022-02-15 14:33:30 +0000 | |
commit | 07dd44852be89386ab12210df90a2d78779f3bff (patch) | |
tree | d8f0794deeed5bbacb7a6bba5fc71aee04674b09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key (diff) | |
download | linux-dev-07dd44852be89386ab12210df90a2d78779f3bff.tar.xz linux-dev-07dd44852be89386ab12210df90a2d78779f3bff.zip |
dpaa2-eth: Initialize mutex used in one step timestamping path
1588 Single Step Timestamping code path uses a mutex to
enforce atomicity for two events:
- update of ptp single step register
- transmit ptp event packet
Before this patch the mutex was not initialized. This
caused unexpected crashes in the Tx function.
Fixes: c55211892f463 ("dpaa2-eth: support PTP Sync packet one-step timestamping")
Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions