mptcp: fix security context on server socket
authorPaolo Abeni <pabeni@redhat.com>
Wed, 16 Dec 2020 11:48:32 +0000 (12:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Dec 2020 18:24:47 +0000 (10:24 -0800)
commit0c14846032f2c0a3b63234e1fc2759f4155b6067
tree71d4f6e72a041532c25b2aa6969639c446be5c7f
parent49e27134f6e9ebcd08c04a98ab7f0574b5a81a35
mptcp: fix security context on server socket

Currently MPTCP is not propagating the security context
from the ingress request socket to newly created msk
at clone time.

Address the issue invoking the missing security helper.

Fixes: cf7da0d66cc1 ("mptcp: Create SUBFLOW socket for incoming connections")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c