mptcp: init sk->sk_prot in build_msk()
authorMenglong Dong <imagedong@tencent.com>
Fri, 6 Jan 2023 18:57:21 +0000 (10:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2023 07:30:50 +0000 (07:30 +0000)
commitade4d754620f6d605705bf337aedef115158697e
tree07a70542a082e7ac8c6ca8fc94c9b6f322afebbe
parentcfdcfeed6449d702825d249cb85346ecf56236fc
mptcp: init sk->sk_prot in build_msk()

The 'sk_prot' field in token KUNIT self-tests will be dereferenced in
mptcp_token_new_connect(). Therefore, init it with tcp_prot.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Menglong Dong <imagedong@tencent.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/token_test.c