mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
In add_direct_chain(), newly allocated direct MR entries are added to
the local list 'tmp', which is spliced into mr->head only on success.
On the error path, the cleanup loop was incorrectly iterating over
mr->head instead of tmp.
Fix by iterating over 'tmp' in the err_alloc cleanup path.
Fixes:
|
||
|---|---|---|
| .. | ||
| mlx5_vdpa.h | ||
| mr.c | ||
| resources.c | ||