diff options
author | Paolo Abeni <[email protected]> | 2020-07-23 13:02:34 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-23 11:47:25 -0700 |
commit | b7514694ed2952684a1e4fc44d83682140fd8cef (patch) | |
tree | 468b94431292db85adcd8e07cf1381e89e0b2d59 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | fa25e815d963115eb06036a8f6a50e724bc259e2 (diff) |
subflow: explicitly check for plain tcp rsk
When syncookie are in use, the TCP stack may feed into
subflow_syn_recv_sock() plain TCP request sockets. We can't
access mptcp_subflow_request_sock-specific fields on such
sockets. Explicitly check the rsk ops to do safe accesses.
Reviewed-by: Mat Martineau <[email protected]>
Tested-by: Christoph Paasch <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions