Merge branch 'tls-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 10:26:11 +0000 (11:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 10:26:11 +0000 (11:26 +0100)
Sabrina Dubroca says:

====================
net: tls: various code cleanups and improvements

This series contains multiple cleanups and simplifications for the
config code of both TLS_SW and TLS_HW.

It also modifies the chcr_ktls driver to use driver_state like all
other drivers, so that we can then make driver_state fixed size
instead of a flex array always allocated to that same fixed size. As
reported by Gustavo A. R. Silva, the way chcr_ktls misuses
driver_state irritates GCC [1].

Patches 1 and 2 are follow-ups to my previous cipher_desc series.

[1] https://lore.kernel.org/netdev/ZRvzdlvlbX4+eIln@work/
====================

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge