diff options
| author | Wilfred Mallawa <wilfred.mallawa@wdc.com> | 2025-10-22 10:19:37 +1000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-27 16:13:43 -0700 |
| commit | 5f30bc470672f7b38a60d6641d519f308723085c (patch) | |
| tree | 778d7fc62507730631dc8da519edf30b06811635 /net/bridge | |
| parent | 82cb5be6ad64198a3a028aeb49dcc7f6224d558a (diff) | |
selftests: tls: add tls record_size_limit test
Test that outgoing plaintext records respect the tls TLS_TX_MAX_PAYLOAD_LEN
set using setsockopt(). The limit is set to be 128, thus, in all received
records, the plaintext must not exceed this amount.
Also test that setting a new record size limit whilst a pending open
record exists is handled correctly by discarding the request.
Suggested-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20251022001937.20155-2-wilfred.opensource@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions