mirror of https://github.com/torvalds/linux.git
Use list_for_each_entry_safe() to allow iterating through the list and
deleting the entry in the iteration process. The descriptor is freed via
idxd_desc_complete() and there's a slight chance may cause issue for
the list iterator when the descriptor is reused by another thread
without it being deleted from the list.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| bus.c | ||
| cdev.c | ||
| compat.c | ||
| debugfs.c | ||
| defaults.c | ||
| device.c | ||
| dma.c | ||
| idxd.h | ||
| init.c | ||
| irq.c | ||
| perfmon.c | ||
| perfmon.h | ||
| registers.h | ||
| submit.c | ||
| sysfs.c | ||