diff options
| author | Jason Gunthorpe <[email protected]> | 2018-04-04 21:00:01 -0600 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-04-19 22:01:11 -0400 |
| commit | 8b77586bd8fe600d97f922c79f7222c46f37c118 (patch) | |
| tree | 98c5e90e52ddcde6489fe9c731c044ba06397e98 /net/switchdev/switchdev.c | |
| parent | e33514f2e930ad800fa52db19e889bb0fba25419 (diff) | |
RDMA/ucma: Check for a cm_id->device in all user calls that need it
This is done by auditing all callers of ucma_get_ctx and switching the
ones that unconditionally touch ->device to ucma_get_ctx_dev. This covers
a little less than half of the call sites.
The 11 remaining call sites to ucma_get_ctx() were manually audited.
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions