diff mbox series

[mptcp-next,1/2] Squash-to: "mptcp: remove addr and subflow in PM netlink" Part 3

Message ID 9187bb959f009488d716d545361cea6a68dd79d1.1600610895.git.geliangtang@gmail.com
State Accepted, archived
Commit fed3a63d0d2056ec2a5ef52ab66979fe7fe3ba7f
Delegated to: Matthieu Baerts
Headers show
Series [mptcp-next,1/2] Squash-to: "mptcp: remove addr and subflow in PM netlink" Part 3 | expand

Commit Message

Geliang Tang Sept. 20, 2020, 2:12 p.m. UTC
Just fix pr_debug logs.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
 net/mptcp/pm_netlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Paolo Abeni Sept. 21, 2020, 10:39 a.m. UTC | #1
On Sun, 2020-09-20 at 22:12 +0800, Geliang Tang wrote:
> Just fix pr_debug logs.
> 
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>

Both patches LGTM, thanks!

/P
Matthieu Baerts Sept. 21, 2020, 5:59 p.m. UTC | #2
Hi Geliang, Paolo,

On 21/09/2020 12:39, Paolo Abeni wrote:
> On Sun, 2020-09-20 at 22:12 +0800, Geliang Tang wrote:
>> Just fix pr_debug logs.
>>
>> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
> 
> Both patches LGTM, thanks!

Thank you for these patches and the reviews!

- fed3a63d0d20: "squashed" patch 1/2 in "mptcp: remove addr and subflow 
in PM netlink"
- 15b3d6c015b4..3e686a88e64f: result
- 8465b0333d89: "squashed" patch 2/2 in "mptcp: implement 
mptcp_pm_remove_subflow"
- 3e686a88e64f..18c4a31d77af: result

Tests + export are in progress!

Cheers,
Matt
diff mbox series

Patch

diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c
index 8780d618a05a..b33aebd85bd5 100644
--- a/net/mptcp/pm_netlink.c
+++ b/net/mptcp/pm_netlink.c
@@ -212,7 +212,7 @@  void mptcp_pm_free_anno_list(struct mptcp_sock *msk)
 {
 	struct mptcp_pm_addr_entry *entry, *tmp;
 
-	pr_debug("msk=%p\n", msk);
+	pr_debug("msk=%p", msk);
 
 	spin_lock_bh(&msk->pm.lock);
 	list_for_each_entry_safe(entry, tmp, &msk->pm.anno_list, list) {
@@ -687,7 +687,7 @@  static int mptcp_nl_remove_subflow_and_signal_addr(struct net *net,
 	struct mptcp_sock *msk;
 	long s_slot = 0, s_num = 0;
 
-	pr_debug("remove_id=%d\n", addr->id);
+	pr_debug("remove_id=%d", addr->id);
 
 	while ((msk = mptcp_token_iter_next(net, &s_slot, &s_num)) != NULL) {
 		struct sock *sk = (struct sock *)msk;