Series |
BPF path manager, part 3
|
expand
-
[mptcp-next,v2,0/7] BPF path manager, part 3
-
[mptcp-next,v2,1/7] mptcp: add mptcp_pm_genl_fill_addr helper
-
[mptcp-next,v2,2/7] mptcp: add struct mptcp_pm_addr_id_bitmap
-
[mptcp-next,v2,3/7] mptcp: drop inet6_sk in mptcp_nl_find_ssk
-
[mptcp-next,v2,4/7] mptcp: drop match in userspace_pm_append_new_local_addr
-
[mptcp-next,v2,5/7] mptcp: hold msk lock before removing id 0 address
-
[mptcp-next,v2,6/7] mptcp: update address type of get_local_id
-
[mptcp-next,v2,7/7] mptcp: change is_backup interfaces as get_flags
|
From: Geliang Tang <tanggeliang@kylinos.cn> 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 (7): mptcp: add mptcp_pm_genl_fill_addr helper mptcp: add struct mptcp_pm_addr_id_bitmap mptcp: drop inet6_sk in mptcp_nl_find_ssk mptcp: drop match in userspace_pm_append_new_local_addr mptcp: hold msk lock before removing id 0 address mptcp: update address type of get_local_id mptcp: change is_backup interfaces as get_flags net/mptcp/pm.c | 38 +++++++++++++++--- net/mptcp/pm_netlink.c | 33 +++++----------- net/mptcp/pm_userspace.c | 84 +++++++++++++--------------------------- net/mptcp/protocol.h | 19 +++++++-- 4 files changed, 85 insertions(+), 89 deletions(-)