Mathieu Xhonneux 61d769807f bpf: fix availability probing for seg6 helpers
bpf_lwt_seg6_* helpers require CONFIG_IPV6_SEG6_BPF, and currently
return -EOPNOTSUPP to indicate unavailability. This patch forces the
BPF verifier to reject programs using these helpers when
!CONFIG_IPV6_SEG6_BPF, allowing users to more easily probe if they are
available or not.

Signed-off-by: Mathieu Xhonneux <m.xhonneux@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-11 22:29:18 +02:00
..
2018-06-12 16:19:22 -07:00
2018-03-27 13:18:09 -04:00
2018-05-04 12:54:38 -04:00
2018-06-22 06:21:34 +09:00
2018-05-28 22:59:54 -04:00
2018-06-29 06:51:51 -07:00