From: Paolo Abeni <pabeni(a)redhat.com>
Date: Thu, 30 Apr 2020 15:03:22 +0200
tcp_v{4,6}_syn_recv_sock() set 'own_req' only when returning
a not NULL 'child', let's check 'own_req' only if child is
available to avoid an - unharmful - UBSAN splat.
v1 -> v2:
- reference the correct hash
Fixes: 4c8941de781c ("mptcp: avoid flipping mp_capable field in
syn_recv_sock()")
Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
Applied.