]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29d0b694f1563c610520c2b9cc88e000d15a8a46
treebb9c682653317ac5d67719f67ab9a011b545613f
parent654122717979b08cefd8fe1a83b49fdba4f5abac
parentdaf82c70d579f9231605075ed2941a63b5b5ff18
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>