Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5446079imm; Tue, 16 Oct 2018 10:20:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV60XRKTDmeGG22t6xYkzTfGzxK9m4pUgeaffzTWdx7GmdyuJR1JfcmcaCa7otbJqiD3tt4Tp X-Received: by 2002:a63:c0f:: with SMTP id b15-v6mr21301427pgl.400.1539710414074; Tue, 16 Oct 2018 10:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539710414; cv=none; d=google.com; s=arc-20160816; b=povDUvlcMN9vctM/9XK3FhAVhmOBmdqc+cfpIQXHGDz4p4fynO2FWVbNXNlNqa1X76 IQwMUuYEfbaIBZY2RqcHbNki4LRS1m22rDZ+b3T0mj6CvSYXKKpT42Xs7VBOV3etaBgJ b72kYufHoYPIMN1o1pmBXx09jfTRYczKFXivSCLwPPwa93h7DVzcT8PVdxGhInJDZ7mj HBUUk6iUD1WSSuGbnc3ehk/uzSTi7VbHu9xWQK9VG9EQzkjvNDW7J7sHembNCA46d0pM 4RPcnnc4EeWpAcVhQlzSjlbFsdKUcJBqy9LStKWWdkXNsmYUI6UmlJNJRhmIoBJcFExw TfPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qnyn3+5wImvzUtlBuQMdkfC4fnC+AxeYw6+OPQwL9jE=; b=Dc1MjgCjgse7eIyQ9XVUbU10O4VX01OiCPS2gQE2+Kqe/ByFP9vgHF7U/F7DjZAScc DjWzeA2w5aeUQDeCesh0W3DRxeFOaKI/ywRpJSV11sFXhfrOI8ASR+12VibJRqch3/zk koiu3eLD3Jdvn3s0u2rKdb4DqYezRIIwq9igTCm4nMHlmlPhWfDoRaHBQpTqoVrnjJ/c gV1asKLwctbMLNLEHY1vtldVf7kOLbdAUXXLN50R/UHr4Y2QmBFYTzt9F5SE1jZX9gV4 uv/TwAt930mc3ZvTMLq/Xed0N2YUjun2Vm5TAg0W7sJsFJkgK+7JeguVuwk5aRhVqcdS FUpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zYuAEtBc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18-v6si14612124pgl.398.2018.10.16.10.19.56; Tue, 16 Oct 2018 10:20:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zYuAEtBc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730137AbeJQBKA (ORCPT + 99 others); Tue, 16 Oct 2018 21:10:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:54780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728680AbeJQBKA (ORCPT ); Tue, 16 Oct 2018 21:10:00 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C8FD72098A; Tue, 16 Oct 2018 17:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539710316; bh=xgNr9IEL1oCRDnsLNQaocKb2q2BTe9U+ZU4MjetfGA0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zYuAEtBcHfcLMNyCaMh2OHF4D//8Ijhk34vr2l3T42mLVr+sgg8zb6VYy8/3M5UOQ sHOvcGHc6lGw2b0TzX2y9VcnNLTBrQwK57QAYz5zqNe/QMy1p3bsImltIvy9oeOiHB rc31RriFAAe5gP1g0thC/Vdkvr8IKXOvw9Ovn+nI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, John Sperbeck , Eric Dumazet , Mahesh Bandewar , "David S. Miller" Subject: [PATCH 4.14 033/109] bonding: fix warning message Date: Tue, 16 Oct 2018 19:05:01 +0200 Message-Id: <20181016170526.836004700@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181016170524.530541524@linuxfoundation.org> References: <20181016170524.530541524@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mahesh Bandewar [ Upstream commit 0f3b914c9cfcd7bbedd445dc4ac5dd999fa213c2 ] RX queue config for bonding master could be different from its slave device(s). With the commit 6a9e461f6fe4 ("bonding: pass link-local packets to bonding master also."), the packet is reinjected into stack with skb->dev as bonding master. This potentially triggers the message: "bondX received packet on queue Y, but number of RX queues is Z" whenever the queue that packet is received on is higher than the numrxqueues on bonding master (Y > Z). Fixes: 6a9e461f6fe4 ("bonding: pass link-local packets to bonding master also.") Reported-by: John Sperbeck Signed-off-by: Eric Dumazet Signed-off-by: Mahesh Bandewar Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/bonding/bond_main.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -1193,6 +1193,7 @@ static rx_handler_result_t bond_handle_f if (nskb) { nskb->dev = bond->dev; + nskb->queue_mapping = 0; netif_rx(nskb); } return RX_HANDLER_PASS;