Re: Linux 2.6.14.1
From: Andrew Morton (akpm_at_osdl.org)
Date: 11/09/05
- Previous message: Brian Twichell: "Re: Database regression due to scheduler changes ?"
- In reply to: Greg KH: "Linux 2.6.14.1"
- Next in thread: David S. Miller: "Re: Linux 2.6.14.1"
- Reply: David S. Miller: "Re: Linux 2.6.14.1"
- Reply: Bill Davidsen: "Re: Linux 2.6.14.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 8 Nov 2005 21:13:54 -0800 To: Greg KH <gregkh@suse.de>
Greg KH <gregkh@suse.de> wrote:
>
> We (the -stable team) are announcing the release of the 2.6.14.1 kernel.
We need the fix for the net-drops-zero-length-udp-messages bug which broke
bind and traceroute.
Begin forwarded message:
Date: Fri, 4 Nov 2005 12:04:53 -0800
From: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
To: git-commits-head@vger.kernel.org
Subject: [NET]: Fix zero-size datagram reception
tree ee282f7fd6e465d7b031d64b9ed7c03233ea94cf
parent c2da8acaf488b8651edfb04ebf3ab089f3a7830f
author Herbert Xu <herbert@gondor.apana.org.au> Wed, 02 Nov 2005 18:55:00 +1100
committer Arnaldo Carvalho de Melo <acme@mandriva.com> Thu, 03 Nov 2005 02:25:04 -0200
[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 | 4 ++++
1 files changed, 4 insertions(+)
diff --git a/net/core/datagram.c b/net/core/datagram.c
index 81987df..d219435 100644
--- a/net/core/datagram.c
+++ b/net/core/datagram.c
@@ -213,6 +213,10 @@ int skb_copy_datagram_iovec(const struct
{
int i, err, fraglen, end = 0;
struct sk_buff *next = skb_shinfo(skb)->frag_list;
+
+ if (!len)
+ return 0;
+
next_skb:
fraglen = skb_headlen(skb);
i = -1;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Brian Twichell: "Re: Database regression due to scheduler changes ?"
- In reply to: Greg KH: "Linux 2.6.14.1"
- Next in thread: David S. Miller: "Re: Linux 2.6.14.1"
- Reply: David S. Miller: "Re: Linux 2.6.14.1"
- Reply: Bill Davidsen: "Re: Linux 2.6.14.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]