From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] rfcomm/sock.c: rfcomm_sock_sendmsg() does not return error on a connection faulure From: Marcel Holtmann To: Victor Shcherbatyuk Cc: linux-bluetooth@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Date: Fri, 19 Dec 2008 08:00:42 +0100 Message-Id: <1229670042.17082.29.camel@violet> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Victor, > We noticed a problem, when a connection from the remote device is > dropper the write() function does not return the error in the user > space, returning 0 instead - indicating that 0 bytes are sent. We've > also noticed that with some older kernels it used to work (2.6.13 vs > 2.6.23-17). The patch fixes the problem. that is a bug and your patch looks good. However can you use git-format-patch and sent it again with proper Signed-off-by line for me to apply. Regards Marcel