diff options
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | 2020-09-30 00:08:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-30 03:15:46 +0200 |
commit | 1a49b2c2a501467587504e75bd049d43af38b692 (patch) | |
tree | 59f8d418675ec25404f4504dbad9b71c8e253b43 /net/rxrpc/output.c | |
parent | mptcp: Consistently use READ_ONCE/WRITE_ONCE with msk->ack_seq (diff) | |
download | linux-1a49b2c2a501467587504e75bd049d43af38b692.tar.xz linux-1a49b2c2a501467587504e75bd049d43af38b692.zip |
mptcp: Handle incoming 32-bit DATA_FIN values
The peer may send a DATA_FIN mapping with either a 32-bit or 64-bit
sequence number. When a 32-bit sequence number is received for the
DATA_FIN, it must be expanded to 64 bits before comparing it to the
last acked sequence number. This expansion was missing.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/93
Fixes: 3721b9b64676 ("mptcp: Track received DATA_FIN sequence number and add related helpers")
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/output.c')
0 files changed, 0 insertions, 0 deletions