projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b1ca7e
)
RDMA/cxgb3: Don't crash kernel just because IDR is full
author
Leon Romanovsky
<leonro@mellanox.com>
Tue, 29 May 2018 11:56:15 +0000
(14:56 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Fri, 1 Jun 2018 15:16:23 +0000
(11:16 -0400)
cxgb3 driver properly handles errors returned by IDR, so there is no
need to have special case (kernel crash) just because IDR is full.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb3/iwch.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb3/iwch.h
b/drivers/infiniband/hw/cxgb3/iwch.h
index
8378622
..
c69bc4f
100644
(file)
--- a/
drivers/infiniband/hw/cxgb3/iwch.h
+++ b/
drivers/infiniband/hw/cxgb3/iwch.h
@@
-162,7
+162,6
@@
static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr,
spin_unlock_irq(&rhp->lock);
idr_preload_end();
- BUG_ON(ret == -ENOSPC);
return ret < 0 ? ret : 0;
}