Hi David, The following pull-request contains BPF updates for your *net* tree.
The main changes are: 1) Fix an off-by-one bug when adjusting subprog start offsets after patching, from Edward. 2) Fix several bugs such as overflow in size allocation in queue / stack map creation, from Alexei. 3) Fix wrong IPv6 destination port byte order in bpf_sk_lookup_udp helper, from Andrey. 4) Fix several bugs in bpftool such as preventing an infinite loop in get_fdinfo, error handling and man page references, from Quentin. 5) Fix a warning in bpf_trace_printk() that wasn't catching an invalid format string, from Martynas. 6) Fix a bug in BPF cgroup local storage where non-atomic allocation was used in atomic context, from Roman. 7) Fix a NULL pointer dereference bug in bpftool from reallocarray() error handling, from Jakub and Wen. 8) Add a copy of pkt_cls.h and tc_bpf.h uapi headers to the tools include infrastructure so that bpftool compiles on older RHEL7-like user space which does not ship these headers, from Yonghong. 9) Fix BPF kselftests for user space where to get ping test working with ping6 and ping -6, from Li. 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 85b18b0237ce9986a81a1b9534b5e2ee116f5504: net: smsc95xx: Fix MTU range (2018-11-08 19:54:49 -0800) 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 1efb6ee3edea57f57f9fb05dba8dcb3f7333f61f: bpf: fix check of allowed specifiers in bpf_trace_printk (2018-11-23 21:54:14 +0100) ---------------------------------------------------------------- Alexei Starovoitov (1): bpf: fix integer overflow in queue_stack_map Andrey Ignatov (1): bpf: Fix IPv6 dport byte order in bpf_sk_lookup_udp Edward Cree (1): bpf: fix off-by-one error in adjust_subprog_starts Jakub Kicinski (1): tools: bpftool: fix potential NULL pointer dereference in do_load Li Zhijian (1): kselftests/bpf: use ping6 as the default ipv6 ping binary when it exists Martynas Pumputis (1): bpf: fix check of allowed specifiers in bpf_trace_printk Quentin Monnet (4): tools: bpftool: prevent infinite loop in get_fdinfo() tools: bpftool: fix plain output and doc for --bpffs option tools: bpftool: pass an argument to silence open_obj_pinned() tools: bpftool: update references to other man pages in documentation Roman Gushchin (1): bpf: allocate local storage buffers using GFP_ATOMIC Yonghong Song (1): tools/bpftool: copy a few net uapi headers to tools directory kernel/bpf/local_storage.c | 3 +- kernel/bpf/queue_stack_maps.c | 16 +- kernel/bpf/verifier.c | 2 +- kernel/trace/bpf_trace.c | 8 +- net/core/filter.c | 5 +- tools/bpf/bpftool/Documentation/bpftool-cgroup.rst | 8 +- tools/bpf/bpftool/Documentation/bpftool-map.rst | 8 +- tools/bpf/bpftool/Documentation/bpftool-net.rst | 8 +- tools/bpf/bpftool/Documentation/bpftool-perf.rst | 8 +- tools/bpf/bpftool/Documentation/bpftool-prog.rst | 11 +- tools/bpf/bpftool/Documentation/bpftool.rst | 9 +- tools/bpf/bpftool/common.c | 17 +- tools/bpf/bpftool/main.h | 2 +- tools/bpf/bpftool/prog.c | 13 +- tools/include/uapi/linux/pkt_cls.h | 612 +++++++++++++++++++++ tools/include/uapi/linux/tc_act/tc_bpf.h | 37 ++ tools/testing/selftests/bpf/test_netcnt.c | 5 +- tools/testing/selftests/bpf/test_verifier.c | 19 + 18 files changed, 752 insertions(+), 39 deletions(-) create mode 100644 tools/include/uapi/linux/pkt_cls.h create mode 100644 tools/include/uapi/linux/tc_act/tc_bpf.h