[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zf1m_Ac-476UJ29d@nanopsycho>
Date: Fri, 22 Mar 2024 12:09:48 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Ravi Gunasekaran <r-gunasekaran@...com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, srk@...com
Subject: Re: [PATCH net] net: hsr: hsr_slave: Fix the promiscuous mode in
offload mode
Fri, Mar 22, 2024 at 11:04:47AM CET, r-gunasekaran@...com wrote:
>commit e748d0fd66ab ("net: hsr: Disable promiscuous mode in
>offload mode") disables promiscuous mode of slave devices
>while creating an HSR interface. But while deleting the
>HSR interface, it does not take care of it. It decreases the
>promiscuous mode count, which eventually enables promiscuous
>mode on the slave devices when creating HSR interface again.
>
>Fix this by not decrementing the promiscuous mode count while
>deleting the HSR interface when offload is enabled.
>
>Fixes: e748d0fd66ab ("net: hsr: Disable promiscuous mode in offload mode")
>Signed-off-by: Ravi Gunasekaran <r-gunasekaran@...com>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists