Merge branch 'fix-ktls-with-sk_skb_verdict'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 21:16:48 +0000 (14:16 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 1 Jun 2020 21:48:33 +0000 (14:48 -0700)
commit7b805819c412e822c0bd58252b46188cddc60300
treebb9c682653317ac5d67719f67ab9a011b545613f
parentdf8fe57c071c58f355d0a4985ecd2fcaf99b050f
parent463bac5f1ca79fcd964bf50426eab024fb4dd8a4
Merge branch 'fix-ktls-with-sk_skb_verdict'

John Fastabend says:

====================
If a socket is running a BPF_SK_SKB_SREAM_VERDICT program and KTLS is
enabled the data stream may be broken if both TLS stream parser and
BPF stream parser try to handle data. Fix this here by making KTLS
stream parser run first to ensure TLS messages are received correctly
and then calling the verdict program. This analogous to how we handle
a similar conflict on the TX side.

Note, this is a fix but it doesn't make sense to push this late to
bpf tree so targeting bpf-next and keeping fixes tags.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>