[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150929.213516.1675265710298613345.davem@davemloft.net>
Date: Tue, 29 Sep 2015 21:35:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vivien.didelot@...oirfairelinux.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com, andrew@...n.ch
Subject: Re: [PATCH net-next] net: dsa: fix preparation of a port STP update
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Date: Tue, 29 Sep 2015 12:38:36 -0400
> Because of the default 0 value of ret in dsa_slave_port_attr_set, a
> driver may return -EOPNOTSUPP from the commit phase of a STP state,
> which triggers a WARN() from switchdev.
>
> This happened on a 6185 switch which does not support hardware bridging.
>
> Reported-by: Andrew Lunn <andrew@...n.ch>
> Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists