From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796089165; b=QfOM5C5skFSdwhWxb36rtDAH5w3kK3reDe9I3sqp3fNcgTikOKvbLGD9UFNhKEYeS3Xr OKcp4uxgUxjzUxvXB68Pfg3bE4GQHD+sqA57+mRBC8ynoOgolPcpEYGoWyZpu9Muyvx76 acskoQbZCm6i/IC2N+pmkXk4WAxGs6rvYXOQ9O49fd3lrmzK+3JBkDFSTyd3H2W+TeOEa avgsbmilznQGfsuiFvenz5u/49oAkcVTkL3Akb/9gh6QClTYi9RCfvYvhIyRfeZyLqi+m FTYlJjJBYCj01OFf1SP72q77w0W44hv6upPmDwCX6JhUdDdMVJn1ZSjlzHjlHIlU20g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796089165; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=TXYspqiBkpgUNZoMzvxebuWhl7kOOkOnDukO825CM6g=; b=t+k8txEJjaT1t20Bk3oi65AZrEdIZ1HrMKnI+lGnlwdVKUWYAaRjKHrXtx2qz+OpJYEx 2n2DhA9dVXdG8fXSjj9lK/6O3kYsvcded9JogV0+gW3TonzY4b5sf9QMXbgQRxmGPU8eh IGDsZKuo0DJPdjp+8vj2f3gixC35IuEuVISzWk14kUTcXMIr0hmcuiQN+r4zM8AAHAjop q0YsglVV5oFsv8afbS5lz6k+8V2eNrh7kr6INi5EALn4VpgfNHHydwFp204Mg7LI1CI6m A/3KpirvZScWWntZW3MTqPp1XM4CJCoDuBtuFySsqT8AhlXVacGknHoqgD1kHWSysUw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=rwfNLNCc; arc=none smtp.remote-ip=156.67.10.101 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42F98606A31A; Tue, 1 Dec 2026 01:39:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 42F98606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=rwfNLNCc DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=TXYspqiBkpgUNZoMzvxebuWhl7kOOkOnDukO825CM6g=; b=rwfNLNCccyetgydkLyPQGMNXqP aGNDV2ozc7w3EnT9O3ScWpIVOPMtEb82y2ga+9GgffxMEq/OUOgxUKYOdQv7XHSAtUsjg6NPdq2xA 0s4gQkwU1WFaWt83xItWHcXgyD8pJeR+OvwBHkgOFJNjD7Qc92Vyourhq5GcwudFe2vk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1xYCpw-002UBd-7h; Tue, 01 Dec 2026 02:39:16 +0100 Date: Tue, 1 Dec 2026 02:39:16 +0100 From: Andrew Lunn To: David Oberhollenzer Cc: paul@pbarker.dev, niklas.soderlund@ragnatech.se, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, upstream+netdev@sigma-star.at Subject: Re: [PATCH] net: ravb: Honor the promsicuous mode state on device re-init Message-ID: References: <20261130072856.16909-1-david.oberhollenzer@sigma-star.at> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261130072856.16909-1-david.oberhollenzer@sigma-star.at> On Mon, Nov 30, 2026 at 08:28:55AM +0100, David Oberhollenzer wrote: > When the device is initialized via ravb_emac_init, called from > the ndo_open implementation, the ECMR register is initialized > with a configuration that has the promiscuous mode bit cleared. > > While this may be desireable for the default case, this device > (re-)initialization is also performed e.g. when changing the MTU > on a running device. An interface that has been set into > promiscuous mode (e.g because it has previously been attached to a > bridge), now silently drops out of promiscuous mode, but with the > IFF_PROMISC flag still set (leaving the bridge to no longer forward > frames correctly). > > Make sure we honor the state of the IFF_PROMISC flag from the netdev > when initializing the ECMR. > > Signed-off-by: David Oberhollenzer You are missing a Fixes: tag indicating where the problem started. https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html Andrew