summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorSandeep Pillai <sanpilla@cisco.com>2016-02-03 14:40:44 +0530
committerDavid S. Miller <davem@davemloft.net>2016-02-09 04:48:01 -0500
commitca7f41a4957b872577807169bd7464b36aae9b9c (patch)
tree2822dad86538faec10e7e7eb5f519eb0117377b8 /net/sctp
parentb7d987295c74500b733a0ba07f9a9bcc4074fa83 (diff)
enic: increment devcmd2 result ring in case of timeout
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@cisco.com> Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions