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)
commit8d548ea1dd157a40ff5882224795a82a5b9abfe6
tree59811955fd1543c9776e58e4c41122d9ea93ef98
parent3aa7857fe1d7ac7f600f5b7e1530396fb06822bf
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