diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-07-23 13:02:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 11:47:25 -0700 |
commit | b7514694ed2952684a1e4fc44d83682140fd8cef (patch) | |
tree | 468b94431292db85adcd8e07cf1381e89e0b2d59 /net/dns_resolver | |
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 <mathew.j.martineau@linux.intel.com>
Tested-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions