Hi David, The following pull-request contains BPF updates for your *net* tree.
The main changes are: 1) Fix a build error in sk_reuseport_convert_ctx_access() when compiling with clang which cannot resolve hweight_long() at build time inside the BUILD_BUG_ON() assertion, from Stefan. 2) Several fixes for BPF sockmap, four of them in getting the bpf_msg_pull_data() helper to work, one use after free case in bpf_tcp_close() and one refcount leak in bpf_tcp_recvmsg(), from Daniel. 3) Another fix for BPF sockmap where we misaccount sk_mem_uncharge() in the socket redirect error case from unwinding scatterlist twice, from 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 53ae914d898e5dd5984d352d5fa0b23410f966a0: net/rds: Use rdma_read_gids to get connection SGID/DGID in IPv6 (2018-08-27 15:26:01 -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 d65e6c80c6bb72ced46ce90dea4016d913a8ddd4: Merge branch 'bpf_msg_pull_data-fixes' (2018-08-29 10:47:18 -0700) ---------------------------------------------------------------- Alexei Starovoitov (1): Merge branch 'bpf_msg_pull_data-fixes' Daniel Borkmann (6): bpf, sockmap: fix potential use after free in bpf_tcp_close bpf, sockmap: fix psock refcount leak in bpf_tcp_recvmsg bpf: fix several offset tests in bpf_msg_pull_data bpf: fix msg->data/data_end after sg shift repair in bpf_msg_pull_data bpf: fix shift upon scatterlist ring wrap-around in bpf_msg_pull_data bpf: fix sg shift repair start offset in bpf_msg_pull_data John Fastabend (1): bpf: sockmap, decrement copied count correctly in redirect error case Stefan Agner (1): bpf: fix build error with clang kernel/bpf/sockmap.c | 52 +++++++++++++++++++++++++--------------------------- net/core/filter.c | 52 +++++++++++++++++++++++++++++----------------------- 2 files changed, 54 insertions(+), 50 deletions(-)