kernel-ark/net/unix
Jacob Keller 8facd5fb73 net: fix smatch warnings inside datagram_poll
Commit 7d4c04fc17 ("net: add option to enable
error queue packets waking select") has an issue due to operator precedence
causing the bit-wise OR to bind to the sock_flags call instead of the result of
the terniary conditional. This fixes the *_poll functions to work properly. The
old code results in "mask |= POLLPRI" instead of what was intended, which is to
only include POLLPRI when the socket option is enabled.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-02 16:59:16 -04:00
..
af_unix.c net: fix smatch warnings inside datagram_poll 2013-04-02 16:59:16 -04:00
diag.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
garbage.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
Kconfig net: Default UDP and UNIX diag to 'n'. 2012-01-07 12:13:06 -08:00
Makefile unix_diag: Write it into kbuild 2011-12-16 13:48:29 -05:00
sysctl_net_unix.c net: Don't export sysctls to unprivileged users 2012-11-18 20:30:55 -05:00