aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-05-15 10:57:21 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-15 10:57:21 -0700
commit8e1381049ed5d213e7a1a7f95bbff83af8c59234 (patch)
tree25f0cead7a4ebfcbb634196ab7078ace6b74812a /samples
parentselftests: mptcp: pm: rm the right tmp file (diff)
parentMerge branch 'restrict-bpf_probe_read' (diff)
downloadwireguard-linux-8e1381049ed5d213e7a1a7f95bbff83af8c59234.tar.xz
wireguard-linux-8e1381049ed5d213e7a1a7f95bbff83af8c59234.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Alexei Starovoitov says: ==================== pull-request: bpf 2020-05-15 The following pull-request contains BPF updates for your *net* tree. We've added 9 non-merge commits during the last 2 day(s) which contain a total of 14 files changed, 137 insertions(+), 43 deletions(-). The main changes are: 1) Fix secid_to_secctx LSM hook default value, from Anders. 2) Fix bug in mmap of bpf array, from Andrii. 3) Restrict bpf_probe_read to archs where they work, from Daniel. 4) Enforce returning 0 for fentry/fexit progs, from Yonghong. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/lwt_len_hist_user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/samples/bpf/lwt_len_hist_user.c b/samples/bpf/lwt_len_hist_user.c
index 587b68b1f8dd..430a4b7e353e 100644
--- a/samples/bpf/lwt_len_hist_user.c
+++ b/samples/bpf/lwt_len_hist_user.c
@@ -15,8 +15,6 @@
#define MAX_INDEX 64
#define MAX_STARS 38
-char bpf_log_buf[BPF_LOG_BUF_SIZE];
-
static void stars(char *str, long val, long max, int width)
{
int i;