Squash to "mptcp: add use_id parameter for addresses_equal v6"
Subsystems (2)
PATCH 1/1 Squash to "mptcp: add use_id parameter for addresses_equal v6"
Squash to:
[mptcp-next,v6,07/20] mptcp: drop lookup_by_id parameter in lookup_addr
Fix mptcp/add_addr packetdrill warnings in v6 reported by CI:
KVM Validation: normal (except selftest_mptcp_join): Unstable: 1 failed test(s): packetdrill_add_addr
Signed-off-by Geliang Tang <[email protected]>
--- net/mptcp/pm_netlink.c | 2 ++ 1 file changed, 2 insertions(+)
net/mptcp/pm_netlink.c +2 -0
@@ -72,6 +72,8 @@ bool mptcp_addresses_equal(const struct mptcp_addr_info *a,if (!use_port && !use_id)return true; +if (use_port && use_id) +return (a->port == b->port) && (a->id == b->id);if (use_port)return a->port == b->port;return a->id == b->id;
Signature · 1 line
2.35.3