forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The MPTCP code typecasts the checksum value to u16 and then convert it to big endian while storing the value into the MPTCP option. As a result, the wire encoding for little endian host is wrong, and that causes interoperabilty interoperability issues with other implementation or host with different endianess. Address the issue writing in the packet the unmodified __sum16 value. The change is not backward compatible, but I can't see any other option. MPTCP checksum is disabled by default, and there are no backward issues with csum disabled. Fixes: c5b39e2 ("mptcp: send out checksum for DSS") Fixes: 390b95a ("mptcp: receive checksum for DSS") Signed-off-by: Paolo Abeni <pabeni@redhat.com>
- Loading branch information
1 parent
5b525a6
commit 7c59043
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters