diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2025-11-20 12:20:41 -0800 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-01-13 11:18:05 -0800 |
| commit | 8439016c3b8b5ab687c2420317b1691585106611 (patch) | |
| tree | 6b1bcb1468b16981a261fc55cff4c3ef915062f5 /tools/lib/python/kdoc/python_version.py | |
| parent | net: add net.core.qdisc_max_burst (diff) | |
| download | linux-8439016c3b8b5ab687c2420317b1691585106611.tar.gz linux-8439016c3b8b5ab687c2420317b1691585106611.zip | |
ice: initialize ring_stats->syncp
The u64_stats_sync structure is empty on 64-bit systems. However, on 32-bit
systems it contains a seqcount_t which needs to be initialized. While the
memory is zero-initialized, a lack of u64_stats_init means that lockdep
won't get initialized properly. Fix this by adding u64_stats_init() calls
to the rings just after allocation.
Fixes: 2b245cb29421 ("ice: Implement transmit and NAPI support")
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
