[NET]: Fix zero-size datagram reception
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Nov 2005 07:55:00 +0000 (18:55 +1100)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Thu, 3 Nov 2005 00:25:04 +0000 (22:25 -0200)
commitc75d721c761ad0f2d8725c40af9e4f376efefd24
treeee282f7fd6e465d7b031d64b9ed7c03233ea94cf
parentc2da8acaf488b8651edfb04ebf3ab089f3a7830f
[NET]: Fix zero-size datagram reception

The recent rewrite of skb_copy_datagram_iovec broke the reception of
zero-size datagrams.  This patch fixes it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/core/datagram.c