]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: receive checksum for DSS
authorGeliang Tang <geliangtang@gmail.com>
Thu, 17 Jun 2021 23:46:15 +0000 (16:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 18:40:11 +0000 (11:40 -0700)
commit0155a35ad2638e9c705ebbdd6583b2597d93f8f1
tree92a105a86cfc3ea492f0c83ba0227be414ff2e4d
parent861d2590eeb32f2ab98547e5d6cf0d5aaf23c94b
mptcp: receive checksum for DSS

In mptcp_parse_option, adjust the expected_opsize, and always parse the
data checksum value from the receiving DSS regardless of csum presence.
Then save it in mp_opt->csum.

Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c