Re: [Bluez-devel] [PATCH] Fix bogus avdtp error codes management
flat view
From: Marcel Holtmann <marcel@holtmann.org>
Date: 2007-09-18 08:27:07
Hi Johan,
quoted
While trying to fix this cross case issue, i came with an issue with the way error codes are handled in avdtp.c. The issue is basically that the part of the code that retrieves the exact error value is never executed due to premature return.Looks fine to me if it works. However, I'd like to hear some comment from Marcel as well. At least my connect(2) manpage implies that a non-blocking connect should always produce a POLLOUT on connection completion regardless if the result was failure or success. So it seems bluez may be behaving differently than other socket types in this respect.
if that is so, then we have to fix the kernel. Can someone write me a simple reproducer or better send me a patch for the kernel. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel