{"id":833282,"url":"http://patchwork.ozlabs.org/api/1.2/patches/833282/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/patch/20171102103531.5514-3-vkuznets@redhat.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/1.2/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20171102103531.5514-3-vkuznets@redhat.com>","list_archive_url":null,"date":"2017-11-02T10:35:31","name":"[net-next,v2,2/2] hv_netvsc: hide warnings about uninitialized/missing rndis device","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"4f03d8236cb920d91deffead654ae4b45b46ce72","submitter":{"id":65701,"url":"http://patchwork.ozlabs.org/api/1.2/people/65701/?format=json","name":"Vitaly Kuznetsov","email":"vkuznets@redhat.com"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/1.2/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/netdev/patch/20171102103531.5514-3-vkuznets@redhat.com/mbox/","series":[{"id":11472,"url":"http://patchwork.ozlabs.org/api/1.2/series/11472/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=11472","date":"2017-11-02T10:35:30","name":"hv_netvsc: fix a hang on channel/mtu changes","version":2,"mbox":"http://patchwork.ozlabs.org/series/11472/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/833282/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/833282/checks/","tags":{},"related":[],"headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=vkuznets@redhat.com"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3ySM282rmWz9t34\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  2 Nov 2017 21:36:16 +1100 (AEDT)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755504AbdKBKfw (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 2 Nov 2017 06:35:52 -0400","from mx1.redhat.com ([209.132.183.28]:53736 \"EHLO mx1.redhat.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1755534AbdKBKfi (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tThu, 2 Nov 2017 06:35:38 -0400","from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 3C13EC0587C9;\n\tThu,  2 Nov 2017 10:35:38 +0000 (UTC)","from vitty.brq.redhat.com (unknown [10.43.2.155])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 9490D60602;\n\tThu,  2 Nov 2017 10:35:36 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 3C13EC0587C9","From":"Vitaly Kuznetsov <vkuznets@redhat.com>","To":"netdev@vger.kernel.org","Cc":"linux-kernel@vger.kernel.org, devel@linuxdriverproject.org,\n\t\"K. Y. Srinivasan\" <kys@microsoft.com>,\n\tHaiyang Zhang <haiyangz@microsoft.com>,\n\tStephen Hemminger <sthemmin@microsoft.com>,\n\tEric Dumazet <eric.dumazet@gmail.com>","Subject":"[PATCH net-next v2 2/2] hv_netvsc: hide warnings about\n\tuninitialized/missing rndis device","Date":"Thu,  2 Nov 2017 11:35:31 +0100","Message-Id":"<20171102103531.5514-3-vkuznets@redhat.com>","In-Reply-To":"<20171102103531.5514-1-vkuznets@redhat.com>","References":"<20171102103531.5514-1-vkuznets@redhat.com>","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.13","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.32]);\n\tThu, 02 Nov 2017 10:35:38 +0000 (UTC)","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"Hyper-V hosts are known to send RNDIS messages even after we halt the\ndevice in rndis_filter_halt_device(). Remove user visible messages\nas they are not really useful.\n\nSigned-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>\n---\n drivers/net/hyperv/rndis_filter.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c\nindex 0648eebda829..8b1242b8d8ef 100644\n--- a/drivers/net/hyperv/rndis_filter.c\n+++ b/drivers/net/hyperv/rndis_filter.c\n@@ -407,13 +407,13 @@ int rndis_filter_receive(struct net_device *ndev,\n \n \t/* Make sure the rndis device state is initialized */\n \tif (unlikely(!rndis_dev)) {\n-\t\tnetif_err(net_device_ctx, rx_err, ndev,\n+\t\tnetif_dbg(net_device_ctx, rx_err, ndev,\n \t\t\t  \"got rndis message but no rndis device!\\n\");\n \t\treturn NVSP_STAT_FAIL;\n \t}\n \n \tif (unlikely(rndis_dev->state == RNDIS_DEV_UNINITIALIZED)) {\n-\t\tnetif_err(net_device_ctx, rx_err, ndev,\n+\t\tnetif_dbg(net_device_ctx, rx_err, ndev,\n \t\t\t  \"got rndis message uninitialized\\n\");\n \t\treturn NVSP_STAT_FAIL;\n \t}\n","prefixes":["net-next","v2","2/2"]}