summaryrefslogtreecommitdiffstats
path: root/samples/bpf/trace_output_user.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@fb.com>2016-11-22 16:52:08 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-24 16:04:52 -0500
commitd2b024d32d6e6f704633a8a474bd883cf9e25254 (patch)
tree94f9aacde15016c8541a2da9067d751db4ca9c71 /samples/bpf/trace_output_user.c
parente3f42f8453902d1520dcdc9909731f274c6d52c1 (diff)
downloadblackbird-op-linux-d2b024d32d6e6f704633a8a474bd883cf9e25254.tar.gz
blackbird-op-linux-d2b024d32d6e6f704633a8a474bd883cf9e25254.zip
samples/bpf: fix sockex2 example
since llvm commit "Do not expand UNDEF SDNode during insn selection lowering" llvm will generate code that uses uninitialized registers for cases where C code is actually uses uninitialized data. So this sockex2 example is technically broken. Fix it by initializing on the stack variable fully. Also increase verifier buffer limit, since verifier output may not fit in 64k for this sockex2 code depending on llvm version. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/trace_output_user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud