Do this in order to prevent the task from being freed if the thread returns (which can be triggered by the frontend) before the call to kthread_stop done as part of the backend tear down. Not taking the reference will lead to a use-after-free in that scenario. Such reference was taken before but dropped as part of the rework done in |
||
|---|---|---|
| .. | ||
| common.h | ||
| hash.c | ||
| interface.c | ||
| Makefile | ||
| netback.c | ||
| rx.c | ||
| xenbus.c | ||