mptcp: change the parameter of __mptcp_make_csum
authorGeliang Tang <geliang.tang@suse.com>
Fri, 7 Jan 2022 19:25:23 +0000 (11:25 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 May 2022 07:57:33 +0000 (09:57 +0200)
commit6e66d31618a991a345ef9a1e02f8bc22e23dcfce
treef974d95dbd2805920f41f657ee9b0556a289d3be
parent37bb8ea1542b70a0716484b23c5a46edc75f34b5
mptcp: change the parameter of __mptcp_make_csum

[ Upstream commit c312ee219100e86143a1d3cc10b367bc43a0e0b8 ]

This patch changed the type of the last parameter of __mptcp_make_csum()
from __sum16 to __wsum. And export this function in protocol.h.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mptcp/options.c
net/mptcp/protocol.h