]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Don't free a QP more than once
authorRam Amrani <Ram.Amrani@cavium.com>
Mon, 20 Feb 2017 20:43:32 +0000 (22:43 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:28 +0000 (21:00 -0800)
commit668c25695b044ed3a865bcc38a322bd66b28b578
treec781851234331a6e6fa8eb3ef7ac8ae9a7bde396
parent42ec91cf416a1ea0003275263c08a9201859f002
qed: Don't free a QP more than once

Orabug: 25477939

If QP is in reset state then there are no resources to free so avoid
freeing any.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 300c0d7c232da572cb640f3bc803554f74e08f69)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_roce.c