diff options
| author | Sabrina Dubroca <sd@queasysnail.net> | 2023-10-09 23:50:54 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-10-13 13:26:10 +0300 |
| commit | 9f0c8245516bc30cff770c3a69a6baaf8eef8810 (patch) | |
| tree | 5d634acd17e6e0cb130d50816fb1eefb90a1a39e /tools/perf/scripts/python/libxed.py | |
| parent | 0700aa3a7503a552d9d2df525711e4700982ee31 (diff) | |
| download | linux-9f0c8245516bc30cff770c3a69a6baaf8eef8810.tar.xz | |
tls: use fixed size for tls_offload_context_{tx,rx}.driver_state
driver_state is a flex array, but is always allocated by the tls core
to a fixed size (TLS_DRIVER_STATE_SIZE_{TX,RX}). Simplify the code by
making that size explicit so that sizeof(struct
tls_offload_context_{tx,rx}) works.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
