diff options
author | 2016-04-28 17:29:46 -0400 | |
---|---|---|
committer | 2016-04-28 17:29:46 -0400 | |
commit | 1dfcd832b1a9ed45edac15b31d079b805fa0ae2a (patch) | |
tree | d19ff13218ada2b400bece7a058919478afea9ce /samples/bpf/trace_output_kern.c | |
parent | Merge branch 'cpsw-phy-handle-fixes' (diff) | |
parent | samples/bpf: fix trace_output example (diff) | |
download | wireguard-linux-1dfcd832b1a9ed45edac15b31d079b805fa0ae2a.tar.xz wireguard-linux-1dfcd832b1a9ed45edac15b31d079b805fa0ae2a.zip |
Merge branch 'bpf-fixes'
Alexei Starovoitov says:
====================
bpf: fix several bugs
First two patches address bugs found by Jann Horn.
Last patch is a minor samples fix spotted during the testing.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | samples/bpf/trace_output_kern.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/trace_output_kern.c b/samples/bpf/trace_output_kern.c index 8d8d1ec429eb..9b96f4fb8cea 100644 --- a/samples/bpf/trace_output_kern.c +++ b/samples/bpf/trace_output_kern.c @@ -18,7 +18,6 @@ int bpf_prog1(struct pt_regs *ctx) u64 cookie; } data; - memset(&data, 0, sizeof(data)); data.pid = bpf_get_current_pid_tgid(); data.cookie = 0x12345678; |