Thread (13 messages) 13 messages, 4 authors, 2020-06-06

Re: [bpf-next PATCH 2/3] bpf: fix running sk_skb program types with ktls

From: Alexei Starovoitov <hidden>
Date: 2020-06-01 21:23:39
Also in: bpf

On Mon, Jun 1, 2020 at 8:20 AM John Fastabend [off-list ref] wrote:
quoted
quoted
@@ -1793,11 +1795,12 @@ int tls_sw_recvmsg(struct sock *sk,

            if (to_decrypt <= len && !is_kvec && !is_peek &&
                ctx->control == TLS_RECORD_TYPE_DATA &&
-               prot->version != TLS_1_3_VERSION)
+               prot->version != TLS_1_3_VERSION &&
+               !sk_psock_strp_enabled(psock))
Is this recheck of parser state intentional? Or can we test for
"!bpf_strp_enabled" here also?
Yes I'll fix it up to use bpf_strp_enabled. Thanks
I fixed that bit and applied the set.

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help