From: Dmitry Tarnyagin Date: Sun, 11 Mar 2012 10:28:31 +0000 (+0000) Subject: caif: Fix for a race in socket transmit with flow control. X-Git-Tag: v3.4-rc1~177^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374458b3fe4288f820dbf3de0728e314d969f9e4;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed