All of lore.kernel.org
 help / color / mirror / Atom feed
* apropos https://github.com/multipath-tcp/mptcp_net-next/issues/265
@ 2022-04-29 10:08 Paolo Abeni
  2022-05-03 18:37 ` apropos https://github.com/multipath-tcp/mptcp_net-next/issues/265 (checksums) Mat Martineau
  2022-05-03 20:41 ` apropos https://github.com/multipath-tcp/mptcp_net-next/issues/265 Maxim Galaganov
  0 siblings, 2 replies; 9+ messages in thread
From: Paolo Abeni @ 2022-04-29 10:08 UTC (permalink / raw)
  To: mptcp; +Cc: Geliang Tang, Mat Martineau

Hello,

I'm investigating the mentioned issue. Not strictily related to the
observed failure, I think/fear we have a very serious problem WRT csum.

Currently, AFAICS, we encode the csum converting the value returned
from csum_fold(csum_partial(csum_unfold)) to be:

https://elixir.bootlin.com/linux/v5.18-rc4/source/net/mptcp/options.c#L1343

while the UDP/TCP csum store directly the result for the same
operation:

https://elixir.bootlin.com/linux/v5.18-rc4/source/net/core/dev.c#L3228

I guess we are doing it wrong but we don't obseve any specific problem
as tests runs on the same arch and we do swap on rx, too. 

I think should see sistematic csum failure when the involved peers have
different endianess (e.g. x86 vs arm). If anyone has easy access to
both systems, could please verify the above?

If the above is true the nasty part is that I don't see how to fix this
without breaking the interop with bugged versions :////

/P


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-05-07  0:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-29 10:08 apropos https://github.com/multipath-tcp/mptcp_net-next/issues/265 Paolo Abeni
2022-05-03 18:37 ` apropos https://github.com/multipath-tcp/mptcp_net-next/issues/265 (checksums) Mat Martineau
2022-05-04 16:41   ` Matthieu Baerts
2022-05-03 20:41 ` apropos https://github.com/multipath-tcp/mptcp_net-next/issues/265 Maxim Galaganov
2022-05-03 23:47   ` Mat Martineau
2022-05-04  9:52   ` Paolo Abeni
2022-05-04 14:30     ` Maxim Galaganov
2022-05-06  1:11       ` Mat Martineau
2022-05-07  0:49         ` Mat Martineau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.