diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-11-16 18:50:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-16 18:50:47 +0100 |
commit | 4c62ab9c538bc09c38093fa079e6902ea4d42b98 (patch) | |
tree | d67bb872f84197369d82985702b6517a7a3f289a /net/ipv4/icmp.c | |
parent | net: rtnetlink.h -- only include linux/netdevice.h when used by the kernel (diff) | |
download | linux-4c62ab9c538bc09c38093fa079e6902ea4d42b98.tar.xz linux-4c62ab9c538bc09c38093fa079e6902ea4d42b98.zip |
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 <wolfgang.schwotzer@gmx.net>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Mike Evans <mike.evans@cardolan.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions