diff options
| author | Shamir Rabinovitch <[email protected]> | 2018-04-10 10:26:23 -0400 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-04-16 09:49:24 -0600 |
| commit | ef95a90ae6f4f21990e1f7ced6719784a409e811 (patch) | |
| tree | 0ac674deb491b364a271fc90334688f8af3aa975 /net/switchdev/switchdev.c | |
| parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
RDMA/ucma: ucma_context reference leak in error path
Validating input parameters should be done before getting the cm_id
otherwise it can leak a cm_id reference.
Fixes: 6a21dfc0d0db ("RDMA/ucma: Limit possible option size")
Signed-off-by: Shamir Rabinovitch <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions