]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: test BPF_SOCK_OPS_RTT_CB
authorStanislav Fomichev <sdf@google.com>
Tue, 2 Jul 2019 16:14:01 +0000 (09:14 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Jul 2019 14:52:02 +0000 (16:52 +0200)
commit422531b33b66c53ecab6e7338e2bdf9ebf6450d9
tree6fdc9d2604935097400c1ffb1148aeeaede3fedd
parent7dabd93bfecc30e22766ff9e618904995f87a5eb
selftests/bpf: test BPF_SOCK_OPS_RTT_CB

Make sure the callback is invoked for syn-ack and data packet.

Cc: Eric Dumazet <edumazet@google.com>
Cc: Priyaranjan Jha <priyarjha@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/progs/tcp_rtt.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_tcp_rtt.c [new file with mode: 0644]