Re: [PATCH net] enic: increment devcmd2 result ring in case of timeout

2016-02-09 Thread David Miller
From: Govindarajulu Varadarajan 
Date: Wed,  3 Feb 2016 14:40:44 +0530

> From: Sandeep Pillai 
> 
> 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 
> Signed-off-by: Govindarajulu Varadarajan <_gov...@gmx.com>

Applied and queued up for -stable, thanks.


Re: [PATCH net] enic: increment devcmd2 result ring in case of timeout

2016-02-09 Thread David Miller
From: Govindarajulu Varadarajan 
Date: Wed,  3 Feb 2016 14:40:44 +0530

> From: Sandeep Pillai 
> 
> 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 
> Signed-off-by: Govindarajulu Varadarajan <_gov...@gmx.com>

Applied and queued up for -stable, thanks.