[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160209.044902.1000602280288311510.davem@davemloft.net>
Date: Tue, 09 Feb 2016 04:49:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: gvaradar@...co.com
Cc: netdev@...r.kernel.org, ssujith@...co.com, benve@...co.com,
sanpilla@...co.com, _govind@....com
Subject: Re: [PATCH net] enic: increment devcmd2 result ring in case of
timeout
From: Govindarajulu Varadarajan <gvaradar@...co.com>
Date: Wed, 3 Feb 2016 14:40:44 +0530
> From: Sandeep Pillai <sanpilla@...co.com>
>
> Firmware posts the devcmd result in result ring. In case of timeout, driver
> does not increment the current result pointer and firmware could post the
> result after timeout has occurred. During next devcmd, driver would be
> reading the result of previous devcmd.
>
> Fix this by incrementing result even in case of timeout.
>
> Fixes: 373fb0873d43 ("enic: add devcmd2")
> Signed-off-by: Sandeep Pillai <sanpilla@...co.com>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists