OSDN Git Service

subflow: always init 'rel_write_seq'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 23 Jul 2020 11:02:29 +0000 (13:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 18:47:24 +0000 (11:47 -0700)
commitb0977bb268db1df6decd3405903ca500721cdc5f
treed05863e5b8a40616ab916126dcbe0138546e25f3
parent205a55f4e65353dd4846547d376a6f85cdda3d04
subflow: always init 'rel_write_seq'

Currently we do not init the subflow write sequence for
MP_JOIN subflows. This will cause bad mapping being
generated as soon as we will use non backup subflow.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Tested-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c
net/mptcp/subflow.c