]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d08dd97bd4336d28b1cfb233105fee071e5ba09
treed05863e5b8a40616ab916126dcbe0138546e25f3
parent65d38a1956d3eda7dba241dd780a79714f1a950e
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