Commit 0c55174
RDMA/mana_ib: Fix integer overflow during queue creation
Check queue size during CQ creation for users to prevent
overflow of u32.
Fixes: bec127e ("RDMA/mana_ib: create kernel-level CQs")
Signed-off-by: Konstantin Taranov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Long Li <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>1 parent 7919514 commit 0c55174
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments