summaryrefslogtreecommitdiff
path: root/samples/bpf/xdp_rxq_info_user.c
diff options
context:
space:
mode:
authorAndrey Ignatov <rdna@fb.com>2018-06-26 14:22:41 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-06-27 11:22:38 +0200
commita7f7547f5e2b90554b0f3d1604899a4f26dba92d (patch)
tree51a8b4418ae371ded7d80e64d860c054b6d675e2 /samples/bpf/xdp_rxq_info_user.c
parent1e54ad251a93a524f1a2950b1d65bc7437c57a53 (diff)
selftests/bpf: Test sys_connect BPF hooks with TFO
TCP Fast Open is triggered by sys_sendmsg with MSG_FASTOPEN flag for SOCK_STREAM socket. Even though it's sys_sendmsg, it eventually calls __inet_stream_connect the same way sys_connect does for TCP. __inet_stream_connect, in turn, already has BPF hooks for sys_connect. That means TFO is already covered by BPF_CGROUP_INET{4,6}_CONNECT and the only missing piece is selftest. The patch adds selftest for TFO. Signed-off-by: Andrey Ignatov <rdna@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdp_rxq_info_user.c')
0 files changed, 0 insertions, 0 deletions