OSDN Git Service

mptcp: allow changing the "backup" bit by endpoint id
authorDavide Caratti <dcaratti@redhat.com>
Fri, 3 Dec 2021 22:35:36 +0000 (14:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Dec 2021 19:36:30 +0000 (11:36 -0800)
commit602837e8479d20d49559b4b97b79d34c0efe7ecb
tree2ff1d340eb432973e45fc03a9a295976331da94f
parentb51880568f20250cc62057f4b747c8212ac3e06c
mptcp: allow changing the "backup" bit by endpoint id

a non-zero 'id' is sufficient to identify MPTCP endpoints: allow changing
the value of 'backup' bit by simply specifying the endpoint id.

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/158
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c