]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix returning unlimited SPQ entries
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 19 Jun 2016 12:18:14 +0000 (15:18 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 17:47:32 +0000 (10:47 -0700)
commit5d8848246f3d3f17ee2922a16dc960edb7156446
tree7355b5deb8c556fd8f5419e3c20e2ba8fe0367a9
parent9662f68bbfb7ffa9a3153e22392eeadb6fd2b5c0
qed: Fix returning unlimited SPQ entries

Driver has 2 sets of entries for handling ramrod configurations
toward firmware - a regular pre-allocated set of entires and a
possible 'unlimited' list of additional pending entries.

In most scenarios the 'unlimited' list would not be used, but
when it does the handling of the ramrod completion doesn't
properly handle the release of the entry.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_spq.c