diff options
| author | Eric Dumazet <[email protected]> | 2024-04-09 14:09:14 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-10 18:55:05 -0700 |
| commit | 9b9fd45869e744bea7d32a94793736e3d9fd7d26 (patch) | |
| tree | 70a8f0792595434743632a7bad4c3a94525e395f /tools/perf/scripts/python/gecko.py | |
| parent | 414e576fb08f108b061cbc1fb964e51ff3467985 (diff) | |
tcp: tweak tcp_sock_write_txrx size assertion
I forgot 32bit arches might have 64bit alignment for u64
fields.
tcp_sock_write_txrx group does not contain pointers,
but two u64 fields. It is possible that on 32bit kernel,
a 32bit hole is before tp->tcp_clock_cache.
I will try to remember a group can be bigger on 32bit
kernels in the future.
With help from Vladimir Oltean.
Fixes: d2c3a7eb1afa ("tcp: more struct tcp_sock adjustments")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Eric Dumazet <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions