From patchwork Fri Dec 4 08:36:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianguo Wu X-Patchwork-Id: 11951497 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C5E6C4167B for ; Fri, 4 Dec 2020 11:14:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E5F4222A85 for ; Fri, 4 Dec 2020 11:14:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727365AbgLDLOW (ORCPT ); Fri, 4 Dec 2020 06:14:22 -0500 Received: from m12-17.163.com ([220.181.12.17]:59569 "EHLO m12-17.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727591AbgLDLOW (ORCPT ); Fri, 4 Dec 2020 06:14:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Message-ID:Date:MIME-Version; bh=vaYzQ yAj5GQDP+q+9HgqqemT1QT6XTcclli4xZYcRpc=; b=ftnx+weSxfUNrR8iW5UAi 9yHD5uoP/Mo9FG7TC0c26Nk++aml8s37pcpVNI5isSu4eaVbeZ0TvML8BkgWzCjA POsFa04LdSocvTDg4z8n041jQHBtNZSobMr1K7LY8HS8Pv6eZus7gIX46Z/vazP/ w7BOrqp7TG/XTS965FyYL4= Received: from [10.8.1.234] (unknown [36.111.140.26]) by smtp13 (Coremail) with SMTP id EcCowAA3No4Z9clfbGzzXg--.24472S2; Fri, 04 Dec 2020 16:36:43 +0800 (CST) From: Jianguo Wu Subject: [PATCH] mptcp: print new line in mptcp_seq_show() if mptcp isn't in use To: netdev@vger.kernel.org Cc: mathew.j.martineau@linux.intel.com, pabeni@redhat.com, fw@strlen.de, davem@davemloft.net Message-ID: Date: Fri, 4 Dec 2020 16:36:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 X-CM-TRANSID: EcCowAA3No4Z9clfbGzzXg--.24472S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUgvPSUUUUU X-Originating-IP: [36.111.140.26] X-CM-SenderInfo: 5zxmxt5qjx0iiqw6il2tof0z/xtbBiBvwkFaD9Tl72gAAsL Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Jianguo Wu Signed-off-by: Jianguo Wu Acked-by: Florian Westphal --- 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; }