commit | 374458b3fe4288f820dbf3de0728e314d969f9e4 | [log] [tgz] |
---|---|---|
author | Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> | Sun Mar 11 10:28:31 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 11 15:38:16 2012 -0700 |
tree | 5249fa436617d45cd2c3e5fad60732fc6d1a0e94 | |
parent | e8abbe0d0236ac1d55d21fec7a8d2ee03e9d3258 [diff] |
caif: Fix for a race in socket transmit with flow control. Kill faulty checks on flow-off leading to connection drop at race conditions. caif_socket checks for flow-on before transmitting and goes to sleep or return -EAGAIN upon flow stop. Remove faulty subsequent checks on flow-off leading to connection drop. Also fix memory leaks on some of the errors paths. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>