summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2024-10-18 12:55:58 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-24 16:09:17 +0200
commit81bc949f640f78b507c7523de7c750bcc87c1bb8 (patch)
treeb59f1845347cbbde3d92a801e9ddf32866259f1a /drivers/net
parent8b448f0dbcae0c18c3fb97caf8aeff5fec19a9a2 (diff)
selftests: tls: add a selftest for wrapping rec_seq
Set the initial rec_seq to 0xffffffffffffffff so that it wraps immediately. The send() call should fail with EBADMSG. A bug in this code was fixed in commit cfaa80c91f6f ("net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()"). Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20775fcfd0371422921ee60a42de170c0398ac10.1729244987.git.sd@queasysnail.net Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions