]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 19:30:00 +0000 (12:30 -0700)
commitc6f5001b26d4b2fa94c0828c57f30b7e5eac14bf
treef922f09c8d05251e014f07e1f2c6e455a40dbf0f
parentfa803720f7366ef5051ea55935fecaf5c94f871c
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>
Orabug: 23732603
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_spq.c