Skip to content

RM_ADDR: remove a list of addrs

Geliang Tang mptcp 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest11 patches 2 repliesIn review
  2. v69 patches 2 repliesSuperseded
  3. v59 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v49 patches2 repliesSuperseded
v39 patches4 repliesSuperseded
v27 patches4 repliesSuperseded
v18 patches3 repliesSuperseded

Changes in v7 from the cover letter

- only changed the selftests.
- add patch 9 and 10 from patchset "move to next addr and testcases".
- drop "invalid addresses flush" in in patch 11, move it to patchset
"move to next addr and testcases"
- tag: export/20210209T062213

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11mptcp: add rm_list in mptcp_out_optionsinclude/net/mptcp.h net/mptcp/options.c net/mptcp/pm.c +1 more+42 -130 replies
2/11mptcp: add rm_list_tx in mptcp_pm_datanet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+11 -80 replies
3/11mptcp: add rm_list in mptcp_options_receivednet/mptcp/options.c net/mptcp/pm.c net/mptcp/protocol.h+16 -100 replies
4/11mptcp: add rm_list_rx in mptcp_pm_datanet/mptcp/pm.c net/mptcp/protocol.h+3 -10 replies
5/11mptcp: remove multi addresses in PMnet/mptcp/pm_netlink.c net/mptcp/protocol.h+20 -170 replies
6/11mptcp: remove multi subflows in PMnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+29 -220 replies
7/11mptcp: remove multi addresses and subflows in PMnet/mptcp/pm_netlink.c+48 -00 replies
8/11mptcp: remove a list of addrs when flushingnet/mptcp/pm_netlink.c+4 -40 replies
9/11selftests: mptcp: add invert argument for chk_rm_nrtools/testing/selftests/net/mptcp/mptcp_join.sh+16 -50 replies
10/11selftests: mptcp: set addr id for removing testcasestools/testing/selftests/net/mptcp/mptcp_join.sh+24 -140 replies
11/11selftests: mptcp: add testcases for removing addrstools/testing/selftests/net/mptcp/mptcp_join.sh+23 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [MPTCP] [MPTCP][PATCH v7 mptcp-next 00/11] RM_ADDR: remove a list of addrs

v7:
- only changed the selftests.
- add patch 9 and 10 from patchset "move to next addr and testcases".
- drop "invalid addresses flush" in in patch 11, move it to patchset
"move to next addr and testcases"
- tag: export/20210209T062213

v6:
- add "rm_list->nr = 1" in patch 1.
- apply: tag export/20210209T062213 + patchset "move to next addr and
testcases" v3.

v5:
- use struct mptcp_rm_list instead of the ids array.
- simplify mptcp_pm_remove_addrs_and_subflows.
- apply: tag export/20210207T062839 + patchset "move to next addr and
testcases".

v4:
- use MAX_ADDR_ID as the default value in the rm_ids array.
- keep the free_list and pass it to mptcp_nl_remove_addrs_list.
- handle remove anno_addrs and subflows in one function.

v3:
- avoid looping twice in mptcp_write_options
- drop nr in mptcp_get_rm_ids_nr
- use rm_ids[0] in patch 1 and patch 3
- separate pm.rm_ids for incoming and outgoing
- tag: export/20210131T062218

v2:
- use an array of ids instead of a u64 map
- drop "mptcp: update the netlink event for rm_addr" in v1
- tag: export/20210131T062218

This patchset added the removing a list of addresses support for RM_ADDR. It addressed issue #140.

Geliang Tang (11):
mptcp: add rm_list in mptcp_out_options
mptcp: add rm_list_tx in mptcp_pm_data
mptcp: add rm_list in mptcp_options_received
mptcp: add rm_list_rx in mptcp_pm_data
mptcp: remove multi addresses in PM
mptcp: remove multi subflows in PM
mptcp: remove multi addresses and subflows in PM
mptcp: remove a list of addrs when flushing
selftests: mptcp: add invert argument for chk_rm_nr
selftests: mptcp: set addr id for removing testcases
selftests: mptcp: add testcases for removing addrs

 include/net/mptcp.h                           |   9 +-
 net/mptcp/options.c                           |  49 +++++--
 net/mptcp/pm.c                                |  29 ++--
 net/mptcp/pm_netlink.c                        | 138 +++++++++++++-----
 net/mptcp/protocol.h                          |  17 ++-
 .../testing/selftests/net/mptcp/mptcp_join.sh |  82 ++++++++---
 6 files changed, 233 insertions(+), 91 deletions(-)
Signature · 1 line
2.29.2