From: Geliang Tang <tanggeliang@kylinos.cn>
v5:
- drop "change is_backup interfaces as get_flags"
- move "add struct mptcp_pm_addr_id_bitmap" and "hold msk lock before
removing id 0 address" out of this set.
- a new patch "use ipv6_addr_equal in addresses_equal"
- patch 4, drop inet6_sk() in mptcp_event_add_subflow() and
mptcp_event_pm_listener() too.
v4:
- add a new patch, "add a build check for userspace_pm_dump_addr" as
Matt suggested.
- patch 4, fix a warning here reported by CI:
WARNING: line length of 84 exceeds 80 columns
#27: FILE: net/mptcp/pm_userspace.c:468:
v3:
- drop "mptcp: update address type of get_local_id".
v2:
- a new patch "hold msk lock before removing id 0 address"
Drop the patch "mptcp: reuse sending nlmsg code in dump_addr", add a new
helper mptcp_pm_genl_fill_addr() to save the duplicated code.
Define struct mptcp_pm_addr_id_bitmap in protocol.h, instead of defining
mptcp_pm_addr_id_bitmap_t in include/net/mptcp.h, since get_addr() and
dump_addr() interfaces of BPF userspace pm is dropped as Matt suggested.
Geliang Tang (5):
mptcp: add a build check for userspace_pm_dump_addr
mptcp: add mptcp_pm_genl_fill_addr helper
mptcp: drop match in userspace_pm_append_new_local_addr
mptcp: drop inet6_sk after inet_sk
mptcp: use ipv6_addr_equal in addresses_equal
net/mptcp/pm.c | 21 +++++++++++++++++++++
net/mptcp/pm_netlink.c | 22 ++++------------------
net/mptcp/pm_userspace.c | 29 +++++++----------------------
net/mptcp/protocol.h | 3 +++
4 files changed, 35 insertions(+), 40 deletions(-)
--
2.43.0