squash-to: mptcp: Add path manager interface
Subsystems (2)
Mat Martineau
PATCH 1/1 squash-to: mptcp: Add path manager interface
Move some minor changes from "mptcp: Implement path manager interface commands" to reduce churn within the patch set. Does not cause conflicts later in the series.
--- net/mptcp/pm.c | 2 +- net/mptcp/protocol.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
net/mptcp/pm.c +1 -1
@@ -99,7 +99,7 @@ void mptcp_pm_data_init(struct mptcp_sock *msk)WRITE_ONCE (msk->pm.addr_signal, false);WRITE_ONCE (msk->pm.accept_addr, false);WRITE_ONCE (msk->pm.accept_subflow, false); - msk->pm.status =MPTCP_PM_IDLE ; + msk->pm.status =0 ;spin_lock_init (&msk->pm.lock);INIT_WORK (&msk->pm.work, pm_worker);
net/mptcp/protocol.h +1 -2
@@ -99,7 +99,6 @@ struct mptcp_addr_info { };enum mptcp_pm_status { -MPTCP_PM_IDLE ,MPTCP_PM_ADD_ADDR_RECEIVED ,MPTCP_PM_ESTABLISHED ,MPTCP_PM_SUBFLOW_ESTABLISHED ,
@@ -124,7 +123,7 @@ struct mptcp_pm_data {u8 add_addr_accept_max;u8 local_addr_max;u8 subflows_max; -enum mptcp_pm_status status; +u8 status;struct work_struct work; };
Signature · 1 line
2.25.2
Paolo Abeni
Quoted 36 lines · Mat Martineau
Move some minor changes from "mptcp: Implement path manager interface commands" to reduce churn within the patch set. Does not cause conflicts later in the series.
Signed-off-by Mat Martineau <mathew.j.martineau(a)linux.intel.com>--- net/mptcp/pm.c | 2 +- net/mptcp/protocol.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)net/mptcp/pm.c +1
-1@@ -99,7 +99,7 @@ void mptcp_pm_data_init(struct mptcp_sock *msk)WRITE_ONCE (msk->pm.addr_signal, false);WRITE_ONCE (msk->pm.accept_addr, false);WRITE_ONCE (msk->pm.accept_subflow, false); - msk->pm.status =MPTCP_PM_IDLE ; + msk->pm.status =0 ;spin_lock_init (&msk->pm.lock);INIT_WORK (&msk->pm.work, pm_worker);net/mptcp/protocol.h +0
-1@@ -99,7 +99,6 @@ struct mptcp_addr_info { };enum mptcp_pm_status { -MPTCP_PM_IDLE ,MPTCP_PM_ADD_ADDR_RECEIVED ,MPTCP_PM_ESTABLISHED ,MPTCP_PM_SUBFLOW_ESTABLISHED ,
net/mptcp/protocol.h struct mptcp_pm_data { · line 129
Quoted 8 lines
net/mptcp/protocol.h +1
-1@@ -124,7 +123,7 @@ struct mptcp_pm_data {u8 add_addr_accept_max;u8 local_addr_max;u8 subflows_max; -enum mptcp_pm_status status; +u8 status;struct work_struct work; };
LGTM, thanks!
(My intention was to squash changes this way when I posted the patches, but I was likely too low on coffee :)
/P
Matthieu Baerts
Hi Mat, Paolo,
Quoted 6 lines · Paolo Abeni
Quoted 5 lines · Mat Martineau
Move some minor changes from "mptcp: Implement path manager interface commands" to reduce churn within the patch set. Does not cause conflicts later in the series.
Signed-off-by Mat Martineau <mathew.j.martineau(a)linux.intel.com>
(...)
Quoted 5 lines
LGTM, thanks!
(My intention was to squash changes this way when I posted the patches, but I was likely too low on coffee :)
Thank you for the patch and the review!
- f25e2388ecbc: "squashed" in "mptcp: Add path manager interface"
- 498995c58801: "Signed-off-by" + "Co-developed-by"
- 10a5c66719de..1d4ba9d3d46e: result
Tests + export are in progress!
Cheers,
Matt
Signature · 5 lines
Matthieu Baerts | R&D Engineer matthieu.baerts(a)tessares.net Tessares SA | Hybrid Access Solutions www.tessares.net 1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium