summaryrefslogtreecommitdiffstats
path: root/include/net/phonet
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2023-10-09 22:50:54 +0200
committerDavid S. Miller <davem@davemloft.net>2023-10-13 12:26:10 +0200
commit9f0c8245516bc30cff770c3a69a6baaf8eef8810 (patch)
tree5d634acd17e6e0cb130d50816fb1eefb90a1a39e /include/net/phonet
parentchcr_ktls: use tls_offload_context_tx and driver_state like other drivers (diff)
downloadlinux-9f0c8245516bc30cff770c3a69a6baaf8eef8810.tar.xz
linux-9f0c8245516bc30cff770c3a69a6baaf8eef8810.zip
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 'include/net/phonet')
0 files changed, 0 insertions, 0 deletions