]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb01a178f0b1dfdf8cade4a7156e12af32165278
tree71d4f6e72a041532c25b2aa6969639c446be5c7f
parent54b45b033c6bb337e8959c4593c590648df09008
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: e16f0c73e49e ("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