From: Andrew Lunn <andrew@lunn.ch>
To: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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
Date: Tue, 1 Dec 2026 02:39:16 +0100 [thread overview]
Message-ID: <c5ecd118-e175-47d1-a885-0ac2690cc2f8@lunn.ch> (raw)
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 <david.oberhollenzer@sigma-star.at>
You are missing a Fixes: tag indicating where the problem started.
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
Andrew
prev parent reply other threads:[~2026-12-01 1:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 7:28 David Oberhollenzer
2026-11-30 7:33 ` netdev-bot+sinfo
2026-11-30 7:55 ` David Oberhollenzer
2026-11-30 15:55 ` Niklas Söderlund
2026-12-01 1:39 ` Andrew Lunn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5ecd118-e175-47d1-a885-0ac2690cc2f8@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=david.oberhollenzer@sigma-star.at \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=niklas.soderlund@ragnatech.se \
--cc=pabeni@redhat.com \
--cc=paul@pbarker.dev \
--cc=upstream+netdev@sigma-star.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®