diff options
author | Liu Jian <[email protected]> | 2021-10-29 22:12:15 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-11-01 17:08:21 +0100 |
commit | b556c3fd467628341cc7680e4271790cafd79dc4 (patch) | |
tree | f05464fc6c33a3c41eefe73efb63a43e729e8add /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 7303524e04af49a47991e19f895c3b8cdc3796c7 (diff) |
selftests, bpf: Fix test_txmsg_ingress_parser error
After "skmsg: lose offset info in sk_psock_skb_ingress", the test case
with ktls failed. This because ktls parser(tls_read_size) return value
is 285 not 256.
The case like this:
tls_sk1 --> redir_sk --> tls_sk2
tls_sk1 sent out 512 bytes data, after tls related processing redir_sk
recved 570 btyes data, and redirect 512 (skb_use_parser) bytes data to
tls_sk2; but tls_sk2 needs 285 * 2 bytes data, receive timeout occurred.
Signed-off-by: Liu Jian <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions