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

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

From: David Miller <davem@davemloft.net>
Date: 2009-06-26 18:17:43
Also in: lkml

From: Davide Libenzi <redacted>
Date: Fri, 26 Jun 2009 11:12:15 -0700 (PDT)
On Fri, 26 Jun 2009, Oleg Nesterov wrote:
quoted
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?
No objections from me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help