]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7afc8fc3a8f61999e706df4ca5ad1ab1d6245782
treed6fffc3cb4b32b847d684762438b4e4eb7de8679
parent2832bfea7081bfe11930fce62ddde762c9a49a39
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: 70105a1bbb51 ("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