[PATCH v2] kernel/watch_queue: Make pipe NULL while clearing watch_queue

Siddh Raman Pant code at siddh.me
Sun Jul 24 07:48:22 UTC 2022


On Sun, 24 Jul 2022 12:49:58 +0530  Hillf Danton <hdanton at sina.com> wrote:
> Given defunct serialized, still need to clear wqueue->pipe in the clear
> path as proposed?

I am not sure what you mean by this...

If you mean freeing the pipe, it is done by free_pipe_info(), which is
the caller of watch_queue_clear().

If you mean making wqueue->pipe NULL, it is being done so in the patch.

Thanks,
Siddh



More information about the Linux-security-module-archive mailing list