]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: reuse __mptcp_make_csum in validate_data_csum
authorGeliang Tang <geliang.tang@suse.com>
Fri, 7 Jan 2022 19:25:24 +0000 (11:25 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Jan 2022 03:00:44 +0000 (19:00 -0800)
commitbe4ddc9be76434c1942f4e849ab8a6b14946a937
tree6081c076537419a42a6c485a7e9252d16e955553
parent2b4b509979d7606379df3b8041b1f8e761ebbc40
mptcp: reuse __mptcp_make_csum in validate_data_csum

This patch reused __mptcp_make_csum() in validate_data_csum() instead of
open-coding.

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>
net/mptcp/subflow.c