]> www.infradead.org Git - users/willy/xarray.git/commit
mptcp: fix subflow's remote_id issues
authorGeliang Tang <geliangtang@gmail.com>
Tue, 8 Sep 2020 02:49:39 +0000 (10:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 19:29:15 +0000 (12:29 -0700)
commit2ff0e566faa4e92cba8138c5b396d6ba96a215f1
tree8d693c1946328722ec80c145f6eb3941fd69124b
parent57025817eaa42c0b6e2a907f28a125c74e3b2fc6
mptcp: fix subflow's remote_id issues

This patch set the init remote_id to zero, otherwise it will be a random
number.

Then it added the missing subflow's remote_id setting code both in
__mptcp_subflow_connect and in subflow_ulp_clone.

Fixes: 01cacb00b35cb ("mptcp: add netlink-based PM")
Fixes: ec3edaa7ca6ce ("mptcp: Add handling of outgoing MP_JOIN requests")
Fixes: f296234c98a8f ("mptcp: Add handling of incoming MP_JOIN requests")
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c
net/mptcp/subflow.c