Thread (25 messages) 25 messages, 7 authors, 2009-06-29

Re: [PATCH] net: fix race in the receive/select

From: Davide Libenzi <hidden>
Date: 2009-06-26 18:16:28
Also in: lkml

On Fri, 26 Jun 2009, Oleg Nesterov wrote:
Perhaps we can add

	void sock_poll_wait(struct file *file, struct sock *sk, poll_table *pt)
	{
		if (pt) {
			poll_wait(file, sk->sk_sleep, pt);
			/*
			 * fat comment
			 */
			smp_mb(); // or smp_mb__after_unlock();
		}
	}
That'd be fine IMHO. Are DaveM and Eric OK?


- Davide

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help