diff options
author | David S. Miller <davem@davemloft.net> | 2018-03-08 02:27:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-08 02:27:51 +0100 |
commit | cfda06d7362b4151ad9acc4765ad15e8dd969e4a (patch) | |
tree | d9582e795735266ea5bc09ecc2045199956b2486 /tools | |
parent | cxgb4: do not set needs_free_netdev for mgmt dev's (diff) | |
parent | bpf, x64: increase number of passes (diff) | |
download | linux-cfda06d7362b4151ad9acc4765ad15e8dd969e4a.tar.xz linux-cfda06d7362b4151ad9acc4765ad15e8dd969e4a.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says:
====================
pull-request: bpf 2018-03-08
The following pull-request contains BPF updates for your *net* tree.
The main changes are:
1) Fix various BPF helpers which adjust the skb and its GSO information
with regards to SCTP GSO. The latter is a special case where gso_size
is of value GSO_BY_FRAGS, so mangling that will end up corrupting
the skb, thus bail out when seeing SCTP GSO packets, from Daniel(s).
2) Fix a compilation error in bpftool where BPF_FS_MAGIC is not defined
due to too old kernel headers in the system, from Jiri.
3) Increase the number of x64 JIT passes in order to allow larger images
to converge instead of punting them to interpreter or having them
rejected when the interpreter is not built into the kernel, from Daniel.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bpf/bpftool/common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/common.c b/tools/bpf/bpftool/common.c index 0b482c0070e0..465995281dcd 100644 --- a/tools/bpf/bpftool/common.c +++ b/tools/bpf/bpftool/common.c @@ -55,6 +55,10 @@ #include "main.h" +#ifndef BPF_FS_MAGIC +#define BPF_FS_MAGIC 0xcafe4a11 +#endif + void p_err(const char *fmt, ...) { va_list ap; |