[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151015.060333.2244517960846953271.davem@davemloft.net>
Date: Thu, 15 Oct 2015 06:03:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com, eladr@...lanox.com
Subject: Re: [patch net] mlxsw: core: Fix race condition in
__mlxsw_emad_transmit
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 15 Oct 2015 08:21:55 +0200
> From: Ido Schimmel <idosch@...lanox.com>
>
> Under certain conditions EMAD responses can be returned from the device
> even before setting trans_active. This will cause the EMAD Rx listener
> to drop the EMAD response - as there are no active transactions - and
> timeouts will be generated.
>
> Fix this by setting trans_active before transmitting the EMAD skb.
>
> Fixes: 4ec14b7634b2 ("mlxsw: Add interface to access registers and process events")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists