Message ID | 20210928144149.84612-6-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp5030914ejj; Tue, 28 Sep 2021 07:45:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcR5MCeRHLZIeDj6YNROIhbcD6LMXERS+pqJWQFctOdke1j+4czxBs+MGi1o6IQCPah/6M X-Received: by 2002:a17:906:70c5:: with SMTP id g5mr2342536ejk.63.1632840302263; Tue, 28 Sep 2021 07:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632840302; cv=none; d=google.com; s=arc-20160816; b=i8Lfv3qH1Isq8+0RJXzy06qscf/rtQhzEsemtUy2iz5aqRJyafGeHljmWGEDEeuuEi YcWSnv/hV+eFRVGmJzfo+2bOrA+Zr8bS2uLTmz8tuFQdcEeDB596/BHzXx4uK35gp4to hjmJHTw5sFiRGap81gqcnbx38F45KRb7eAUO2/yi6xEijB6sCUARPW1Xy0P6TTXzT6dr Q8F6oaweq6++m/gg1aCDAA89SEkuTJo77s9mHhs6MK4lE3NolmgEhTil0ifszcZfH5md wRgeSRglTF3RVultcl/IaPYAI3GqOH0+FfWeIZAFf5O/Xo2tbN5VOlG3KLKxUmjfBeo5 VRYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SyJepoAP9gqp9xgp/GjgHi1fMuvyMC7LLl2uqf6Q+6k=; b=uNJqtgqB5ebuIdAbO6rFxJ6J9CgsAsi9oCUtZK96jAwTKn3S8lxBq50OQPEi2y954a d/0TvLQiQ3J02D3xwG28kj8oGJX8dQTF5JJwWbjA1Y7v9Shin0RwGFaz5+ZwO7JRRxdn uHiiHPg1VNY3fS1N7bh8jwlJnXopz4Kj5MXO1PmANcMbqvrkkaAstmp80ooEN152H3rl sTQh+Cdx8Vc6Ck9q5sKVD38lxOZ1AtZkm1ZXL/wJkkkrEx0H4EoRHTE8fSxKwbUlbUrq /zI3eK/5TaItuzRvn4MIjjHDjctzgivX1AhdAt//552ii73ygPdfkwIryFwLm2u5FRqv rD5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GVHGXwAs; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <netdev-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si8327341eju.585.2021.09.28.07.45.02; Tue, 28 Sep 2021 07:45:02 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GVHGXwAs; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241420AbhI1Oqj (ORCPT <rfc822; lee.jones@linaro.org> + 8 others); Tue, 28 Sep 2021 10:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241411AbhI1Oqh (ORCPT <rfc822;netdev@vger.kernel.org>); Tue, 28 Sep 2021 10:46:37 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4AF3C06161C for <netdev@vger.kernel.org>; Tue, 28 Sep 2021 07:44:57 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id y28so93049605lfb.0 for <netdev@vger.kernel.org>; Tue, 28 Sep 2021 07:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SyJepoAP9gqp9xgp/GjgHi1fMuvyMC7LLl2uqf6Q+6k=; b=GVHGXwAsDT/eVNmLUaxXkb9bjMePwv2tWQbge/wagGCzMLSae4sqS0CySacAC3PTh4 285PCkzi699QZd4DIy7CG0iwk0WdVHDWs/Vp+i3qr24hGAVYAG62UBICdpXelLCT3Qik s0BhL7ULHKUPCGYNV4nCRDnJFSAztBNtP6vyI3ykMM6Fys3ssNSnq+GkVUUv0i26zEKQ bkyEchtrURiEcpMI/AdiegbCPy5UVV78n8IA3hTOlWggL5jkjmRNzTs3WsNT4lHPcDq2 cREOlrl1s/wETHpTW0Qq7D2z2MAcY1Ao3WVA0cSKjwGnyh+QWLHu2sJOakF16U3oepJb HhAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SyJepoAP9gqp9xgp/GjgHi1fMuvyMC7LLl2uqf6Q+6k=; b=3X5Vclnx/+ZQtZb7Oy3ZKmH/3kzIfTAwnpcKwrfpysqkWtHnvEY1loXemDZO8FDUN7 LK+bhgYNdWrT6kKhY+Qklvht+0L8ikfsMM8ePjB6tHK8FaknrpUqLP0WCZY3beyZoeXj gAO7HrieCmCnSR5HMurw0fvbYi0su6kwWqOFlzXjvSDFKK6Q5zd29YGVe8+zc61zzNPk WZ8zQW9UTDaSAKELvvSdi1+PIJy2K24PlxIVMsZYwOyWkCloz0eHxcPp/BMLfMdnfr5e OTcvmhhJjWdrRvLmLTyMfgaNPDhqwmdN9En7+LzpfABy5vjnqnJJioObo31EzQBDE1op HA7w== X-Gm-Message-State: AOAM532Ic6XBb0ze/c5emx3RACvLQX2pJfSfcL9HKxqtuG2sWk+LCyMO 7aGAqVB50CZ5o1XPU7Siy6Qibg== X-Received: by 2002:a05:6512:1303:: with SMTP id x3mr6083260lfu.291.1632840293564; Tue, 28 Sep 2021 07:44:53 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id x23sm1933462lfd.136.2021.09.28.07.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 07:44:52 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: Andrew Lunn <andrew@lunn.ch>, Vivien Didelot <vivien.didelot@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S . Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org> Cc: netdev@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Mauri Sandberg <sandberg@mailfence.com>, DENG Qingfang <dqfext@gmail.com>, =?utf-8?q?Alvin_=C5=A0ipraga?= <alsi@bang-olufsen.dk> Subject: [PATCH net-next 5/6 v8] net: dsa: rtl8366: Fix a bug in deleting VLANs Date: Tue, 28 Sep 2021 16:41:48 +0200 Message-Id: <20210928144149.84612-6-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210928144149.84612-1-linus.walleij@linaro.org> References: <20210928144149.84612-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
RTL8366(RB) cleanups part 1
|
expand
|
diff --git a/drivers/net/dsa/rtl8366.c b/drivers/net/dsa/rtl8366.c index 0672dd56c698..f815cd16ad48 100644 --- a/drivers/net/dsa/rtl8366.c +++ b/drivers/net/dsa/rtl8366.c @@ -374,7 +374,7 @@ int rtl8366_vlan_del(struct dsa_switch *ds, int port, * anymore then clear the whole member * config so it can be reused. */ - if (!vlanmc.member && vlanmc.untag) { + if (!vlanmc.member) { vlanmc.vid = 0; vlanmc.priority = 0; vlanmc.fid = 0;