diff options
| author | Kalesh AP <[email protected]> | 2024-10-08 07:41:39 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2024-10-11 23:49:01 +0000 |
| commit | a5e099e0c464ac3d077339f481981e0d859b8545 (patch) | |
| tree | 361cde5acd1e3bd16fec5934ad7a0b73b4a677fd /rust/helpers/helpers.c | |
| parent | RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop (diff) | |
| download | kernel-a5e099e0c464ac3d077339f481981e0d859b8545.tar.gz kernel-a5e099e0c464ac3d077339f481981e0d859b8545.zip | |
RDMA/bnxt_re: Fix an error path in bnxt_re_add_device
In bnxt_re_add_device(), when register netdev notifier fails, driver is
not unregistering the IB device in the error cleanup path. Also, removed
the duplicate cleanup in error path of bnxt_re_probe.
Fixes: 94a9dc6ac8f7 ("RDMA/bnxt_re: Group all operations under add_device and remove_device")
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
