bpf: Make SOCK_OPS_GET_TCP size independent
authorLawrence Brakmo <brakmo@fb.com>
Fri, 26 Jan 2018 00:14:06 +0000 (16:14 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Jan 2018 00:41:13 +0000 (16:41 -0800)
commita33de3973488680def6a900e74ec67ba2bef226c
treec09b3f9edddd4343117b399a5688c86c3a9cb920
parent2585cd62f0986a6e6d9c83363ed6dbcc66bc9f32
bpf: Make SOCK_OPS_GET_TCP size independent

Make SOCK_OPS_GET_TCP helper macro size independent (before only worked
with 4-byte fields.

Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/core/filter.c