From: Wolfram Sang Date: Tue, 16 Nov 2010 17:50:47 +0000 (-0800) Subject: irda: irttp: allow zero byte packets X-Git-Tag: v2.6.37-rc3~3^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c62ab9c538bc09c38093fa079e6902ea4d42b98;p=pandora-kernel.git irda: irttp: allow zero byte packets Sending zero byte packets is not neccessarily an error (AF_INET accepts it, too), so just apply a shortcut. This was discovered because of a non-working software with WINE. See http://bugs.winehq.org/show_bug.cgi?id=19397#c86 http://thread.gmane.org/gmane.linux.irda.general/1643 for very detailed debugging information and a testcase. Kudos to Wolfgang for those! Reported-by: Wolfgang Schwotzer Signed-off-by: Wolfram Sang Tested-by: Mike Evans Signed-off-by: David S. Miller --- Reading git-diff-tree failed