mptcp: fix 32 bit DSN expansion
authorPaolo Abeni <pabeni@redhat.com>
Fri, 18 Jun 2021 22:02:21 +0000 (15:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 21:21:28 +0000 (14:21 -0700)
commit5957a8901db44c03540505ccedd95031c21ef2f2
treed6fffc3cb4b32b847d684762438b4e4eb7de8679
parent1502328f17ab0684ca5ed6764433aa0a83bdaf95
mptcp: fix 32 bit DSN expansion

The current implementation of 32 bit DSN expansion is buggy.
After the previous patch, we can simply reuse the newly
introduced helper to do the expansion safely.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/120
Fixes: 648ef4b88673 ("mptcp: Implement MPTCP receive path")
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/subflow.c