selftests: tls: add a test for queuing data before setting the ULP
authorJakub Kicinski <kuba@kernel.org>
Fri, 24 Mar 2023 18:17:57 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Mar 2023 07:54:02 +0000 (08:54 +0100)
commita504d246d2129b6fe40059d372288ffb36e4588b
treea85934d2122eecf68a5401d2bb4ac897d5ae85f6
parentdd3a7d58dcc2434632bed31683ff134b7d6d1da4
selftests: tls: add a test for queuing data before setting the ULP

Other tests set up the connection fully on both ends before
communicating any data. Add a test which will queue up TLS
records to TCP before the TLS ULP is installed.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tls.c