Thread (1 message) 1 message, 1 author, 2015-11-10

Re: [PATCH] unix: avoid use-after-free in ep_remove_wait_queue

From: Rainer Weikusat <hidden>
Date: 2015-11-10 17:16:35
Also in: linux-fsdevel, lkml

David Miller [off-list ref] writes:
From: Rainer Weikusat <redacted>
Date: Mon, 09 Nov 2015 14:40:48 +0000
quoted
+	__remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait,
+			    &u->peer_wake);
This is more simply:

	__remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, q);
Thank you for pointing this out.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help