]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: Fix tcp_bufs_kern.c sample program
authorLawrence Brakmo <brakmo@fb.com>
Sat, 11 Nov 2017 06:19:52 +0000 (22:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 06:52:41 +0000 (15:52 +0900)
commita4174f0560f849317239478b1b22afbf03a6eda2
tree5c633fd9cbee65be8fc2cde131f967bd5c3a93c6
parent016e661bb0610a98b1c9ac1250e3269236fabe19
bpf: Fix tcp_bufs_kern.c sample program

The program was returning -1 in some cases which is not allowed
by the verifier any longer.

Fixes: 390ee7e29fc8 ("bpf: enforce return code for cgroup-bpf programs")
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/tcp_bufs_kern.c