linux/tools
Stanislav Fomichev ebace0e981 selftests/bpf: use __bpf_constant_htons in test_prog.c for flow dissector
Older GCC (<4.8) isn't smart enough to optimize !__builtin_constant_p()
branch in bpf_htons.

I recently fixed it for pkt_v4 and pkt_v6 in commit a0517a0f7e
("selftests/bpf: use __bpf_constant_htons in test_prog.c"), but
later added another bunch of bpf_htons in commit bf0f0fd939
("selftests/bpf: add simple BPF_PROG_TEST_RUN examples for flow
dissector").

Fixes: bf0f0fd939 ("selftests/bpf: add simple BPF_PROG_TEST_RUN examples for flow dissector")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-03-01 00:48:51 +01:00
..
accounting
arch
bpf tools/bpftool: recognize bpf_prog_info run_time_ns and run_cnt 2019-02-27 17:22:51 +01:00
build
cgroup
crypto
firewire
firmware
gpio
hv
iio
include tools/bpf: sync bpf.h into tools 2019-02-27 17:22:51 +01:00
kvm/kvm_stat
laptop
leds
lib libbpf: add support for using AF_XDP sockets 2019-02-25 23:21:42 +01:00
memory-model
nfsd
objtool
pci
pcmcia
perf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-15 12:38:38 -08:00
power
scripts
spi
testing selftests/bpf: use __bpf_constant_htons in test_prog.c for flow dissector 2019-03-01 00:48:51 +01:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile