]> git.baikalelectronics.ru Git - kernel.git/commit
caif: Bugfix - Poll can't return POLLHUP while connecting.
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Fri, 21 May 2010 02:16:10 +0000 (02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:57:42 +0000 (23:57 -0700)
commitf08016b411071f9f1056fd3070afdad8f6674ceb
tree133c7b35294fd501fbf1732b2256a91ead7fbe16
parent33ddbe1ec21f3f67219c5a5b720e401ca2732fc8
caif: Bugfix - Poll can't return POLLHUP while connecting.

Discovered bug when testing async connect.
While connecting poll should not return POLLHUP,
but POLLOUT when connected.
Also fixed the sysfs flow-control-counters.

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_socket.c