]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: split shared bpf_tcp_sock and bpf_sock_ops implementation
authorStanislav Fomichev <sdf@google.com>
Tue, 2 Jul 2019 16:13:57 +0000 (09:13 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 3 Jul 2019 14:52:01 +0000 (16:52 +0200)
commite8c1a0da2ed01ac73f48980c68f29e705b50ea5d
tree18b455565d0c09ad4c32f51aee153732c644e882
parent4cdea11a67bceae89aaf0d4032558a54f39a0ff1
bpf: split shared bpf_tcp_sock and bpf_sock_ops implementation

We've added bpf_tcp_sock member to bpf_sock_ops and don't expect
any new tcp_sock fields in bpf_sock_ops. Let's remove
CONVERT_COMMON_TCP_SOCK_FIELDS so bpf_tcp_sock can be independently
extended.

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>
net/core/filter.c