From: Taehee Yoo <ap420...@gmail.com> Date: Mon, 17 Dec 2018 16:31:04 +0900
> But I don't know how cleanup callback is invoked when > bpfilter_umh process is killed. I am suggesting that a new piece of generic infrastructure might be needed, but it would need to be carefully designed. The task_struct would get a piece of state, and at exit() time the kernel would check that state and use it to invoke exit() time cleanups for UMH type processes. Is the idea clearer now?