Hi David, The following pull-request contains BPF updates for your *net* tree. The main changes are: 1) fix segfault in libbpf, from Andrii. 2) fix gso_segs access, from Eric. 3) tls/sockmap fixes, from Jakub and John. Please consider pulling these changes from: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git Thanks a lot! ---------------------------------------------------------------- The following changes since commit 8d650cdedaabb33e85e9b7c517c0c71fcecc1de9: tcp: fix tcp_set_congestion_control() use from bpf hook (2019-07-18 20:33:48 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git for you to fetch changes up to cb8ffde5694ae5fffb456eae932aac442aa3a207: libbpf: silence GCC8 warning about string truncation (2019-07-25 10:13:31 -0700) ---------------------------------------------------------------- Alexei Starovoitov (1): Merge branch 'fix-gso_segs' Andrii Nakryiko (3): libbpf: fix SIGSEGV when BTF loading fails, but .BTF.ext exists libbpf: sanitize VAR to conservative 1-byte INT libbpf: silence GCC8 warning about string truncation Arnaldo Carvalho de Melo (2): libbpf: Fix endianness macro usage for some compilers libbpf: Avoid designated initializers for unnamed union members Daniel Borkmann (1): Merge branch 'bpf-sockmap-tls-fixes' Eric Dumazet (2): bpf: fix access to skb_shared_info->gso_segs selftests/bpf: add another gso_segs access Ilya Leoshkevich (2): selftests/bpf: fix sendmsg6_prog on s390 bpf: fix narrower loads on s390 Ilya Maximets (1): libbpf: fix using uninitialized ioctl results Jakub Kicinski (7): net/tls: don't arm strparser immediately in tls_set_sw_offload() net/tls: don't call tls_sk_proto_close for hw record offload selftests/tls: add a test for ULP but no keys selftests/tls: test error codes around TLS ULP installation selftests/tls: add a bidirectional test selftests/tls: close the socket with open record selftests/tls: add shutdown tests John Fastabend (7): net/tls: remove close callback sock unlock/lock around TX work flush net/tls: remove sock unlock/lock around strp_done() net/tls: fix transition through disconnect with close bpf: sockmap, sock_map_delete needs to use xchg bpf: sockmap, synchronize_rcu before free'ing map bpf: sockmap, only create entry if ulp is not already enabled bpf: sockmap/tls, close can race with map free Documentation/networking/tls-offload.rst | 6 + include/linux/filter.h | 13 ++ include/linux/skmsg.h | 8 +- include/net/tcp.h | 3 + include/net/tls.h | 15 +- kernel/bpf/verifier.c | 4 +- net/core/filter.c | 6 +- net/core/skmsg.c | 4 +- net/core/sock_map.c | 19 ++- net/ipv4/tcp_ulp.c | 13 ++ net/tls/tls_main.c | 142 ++++++++++++---- net/tls/tls_sw.c | 83 ++++++--- tools/lib/bpf/btf.c | 5 +- tools/lib/bpf/libbpf.c | 34 ++-- tools/lib/bpf/xsk.c | 11 +- tools/testing/selftests/bpf/progs/sendmsg6_prog.c | 3 +- tools/testing/selftests/bpf/verifier/ctx_skb.c | 11 ++ tools/testing/selftests/net/tls.c | 194 ++++++++++++++++++++++ 18 files changed, 480 insertions(+), 94 deletions(-)