diff options
| author | Andrew Morton <akpm@linux-foundation.org> | 2016-07-18 15:50:58 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:27 +0300 |
| commit | ccde46f2cb6bc1855e76eedd2d0798e06f579657 (patch) | |
| tree | d3d2f7d707d740503f66ed2fcb95709ad977ae4c /samples/bpf/bpf_helpers.h | |
| parent | c80f66cc54b24c560703b97ffbc289b524b29159 (diff) | |
kernel/trace/bpf_trace.c: work around gcc-4.4.4 anon union initialization bug
kernel/trace/bpf_trace.c: In function 'bpf_event_output':
kernel/trace/bpf_trace.c:312: error: unknown field 'next' specified in initializer
kernel/trace/bpf_trace.c:312: warning: missing braces around initializer
kernel/trace/bpf_trace.c:312: warning: (near initialization for 'raw.frag.<anonymous>')
Fixes: 555c8a8623a3a87 ("bpf: avoid stack copy and use skb ctx for event output")
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'samples/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
