Home
last modified time | relevance | path

Searched hist:"64 d950ae0b01eae96eb668b789c6d145c38ac41c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mptcp/
H A Dprotocol.cdiff 64d950ae0b01eae96eb668b789c6d145c38ac41c Mon May 11 11:24:42 CDT 2020 Christoph Paasch <cpaasch@apple.com> mptcp: Initialize map_seq upon subflow establishment

When the other MPTCP-peer uses 32-bit data-sequence numbers, we rely on
map_seq to indicate how to expand to a 64-bit data-sequence number in
expand_seq() when receiving data.

For new subflows, this field is not initialized, thus results in an
"invalid" mapping being discarded.

Fix this by initializing map_seq upon subflow establishment time.

Fixes: f296234c98a8 ("mptcp: Add handling of incoming MP_JOIN requests")
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Reviewed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>