]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: do not set unconditionally csum_reqd on incoming opt
authorPaolo Abeni <pabeni@redhat.com>
Fri, 27 Aug 2021 00:44:50 +0000 (17:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2021 08:45:07 +0000 (09:45 +0100)
commitaa4d8cc97a2714d3a4f155f739e5420bd95f623b
tree59811955fd1543c9776e58e4c41122d9ea93ef98
parentf8cbd7a75c87aba2b5ebe4a4454a0ad0362bc964
mptcp: do not set unconditionally csum_reqd on incoming opt

Should be set only if the ingress packets present it, otherwise
we can confuse csum validation.

Signed-off-by: Paolo Abeni <pabeni@redhat.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