lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c1d61ab4-7626-7c97-7363-73dbc5fa3629@163.com>
Date:   Fri, 4 Dec 2020 16:36:41 +0800
From:   Jianguo Wu <wujianguo106@....com>
To:     netdev@...r.kernel.org
Cc:     mathew.j.martineau@...ux.intel.com, pabeni@...hat.com,
        fw@...len.de, davem@...emloft.net
Subject: [PATCH] mptcp: print new line in mptcp_seq_show() if mptcp isn't in
 use

From: Jianguo Wu <wujianguo@...natelecom.cn>
Signed-off-by: Jianguo Wu <wujianguo@...natelecom.cn>
---
 net/mptcp/mib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/mptcp/mib.c b/net/mptcp/mib.c
index 84d1194..b921cbd 100644
--- a/net/mptcp/mib.c
+++ b/net/mptcp/mib.c
@@ -67,6 +67,7 @@ void mptcp_seq_show(struct seq_file *seq)
 		for (i = 0; mptcp_snmp_list[i].name; i++)
 			seq_puts(seq, " 0");

+		seq_putc(seq, '\n');
 		return;
 	}

-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ