[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151025.064554.969566293457384990.davem@davemloft.net>
Date: Sun, 25 Oct 2015 06:45:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: Alan.Burlison@...cle.com, Casper.Dik@...cle.com,
viro@...IV.linux.org.uk, stephen@...workplumber.org,
netdev@...r.kernel.org, dholland-tech@...bsd.org
Subject: Re: [PATCH net-next] af_unix: do not report POLLOUT on listeners
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 23 Oct 2015 10:59:16 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> poll(POLLOUT) on a listener should not report fd is ready for
> a write().
>
> This would break some applications using poll() and pfd.events = -1,
> as they would not block in poll()
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Alan Burlison <Alan.Burlison@...cle.com>
> Tested-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists