The programs were returning -1 in some cases when they should only return 0 or 1. Changes in the verifier now catch this issue and the programs fail to load. This is now fixed.
[PATCH net-next 1/6] bpf: Fix tcp_synrto_kern.c sample program [PATCH net-next 2/6] bpf: Fix tcp_rwnd_kern.c sample program [PATCH net-next 3/6] bpf: Fix tcp_bufs_kern.c sample program [PATCH net-next 4/6] bpf: Fix tcp_cong_kern.c sample program [PATCH net-next 5/6] bpf: Fix tcp_iw_kern.c sample program [PATCH net-next 6/6] bpf: Fix tcp_clamp_kern.c sample program samples/bpf/tcp_bufs_kern.c | 14 ++++++++------ samples/bpf/tcp_clamp_kern.c | 24 +++++++++++++----------- samples/bpf/tcp_cong_kern.c | 6 ++++-- samples/bpf/tcp_iw_kern.c | 14 ++++++++------ samples/bpf/tcp_rwnd_kern.c | 6 ++++-- samples/bpf/tcp_synrto_kern.c | 6 ++++-- files changed, 41 insertions(+), 29 deletions(-)