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

David Howells dhowells at redhat.com
Wed Jul 27 14:49:15 UTC 2022


Hillf Danton <hdanton at sina.com> wrote:

> Yes, you are right. I missed 353f7988dd84 ("watchqueue: make sure to serialize
> 'wqueue->defunct' properly"). Sorry for my noise.
> 
> Given defunct serialized, still need to clear wqueue->pipe in the clear
> path as proposed?

In fact, with the locking, is wqueue->defunct even still needed, I wonder?

David



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