diff options
author | Andrew Boyer <andrew.boyer@dell.com> | 2017-08-28 16:11:52 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-28 19:12:33 -0400 |
commit | d45d29567f87492e467ec854e0e81ad847c9b840 (patch) | |
tree | a653e59081a9db3a03b178a14f025060f0b0c6b7 /drivers/perf | |
parent | cffec53daf9f9a87e4e532da1dfaac4bbfcc2e29 (diff) | |
download | linux-rt-d45d29567f87492e467ec854e0e81ad847c9b840.tar.gz |
IB/rxe: Fix up the responder's find_resources() function
The resource array is sized by max_dest_rd_atomic, not max_rd_atomic.
Iterating over max_rd_atomic entries of qp->resp.resources[] will cause
incorrect behavior when the two attributes are different (or even
crash if max_rd_atomic is larger).
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions