From: Andrew Morton <akpm@osdl.org>
To: Greg KH <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org, stable@kernel.org,
torvalds@osdl.org, Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: Linux 2.6.14.1
Date: Tue, 8 Nov 2005 21:13:54 -0800 [thread overview]
Message-ID: <20051108211354.546e0163.akpm@osdl.org> (raw)
In-Reply-To: <20051109010729.GA22439@kroah.com>
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
next prev parent reply other threads:[~2005-11-09 5:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 1:07 Greg KH
2005-11-09 1:08 ` Greg KH
2005-11-09 2:05 ` Coywolf Qi Hunt
2005-11-09 2:18 ` [stable] " Greg KH
2005-11-09 3:19 ` Coywolf Qi Hunt
2005-11-09 2:22 ` Ernst Herzberg
2005-11-09 2:33 ` [stable] " Chris Wright
2005-11-09 2:40 ` Greg KH
2005-11-09 3:20 ` Ernst Herzberg
2005-11-09 5:13 ` Andrew Morton [this message]
2005-11-09 5:27 ` David S. Miller
2005-11-09 6:04 ` [stable] " Chris Wright
2005-11-09 11:57 ` Andrew Walrond
2005-11-09 16:45 ` Chris Wright
2005-11-09 17:15 ` Greg KH
2005-11-09 17:56 ` Andrew Walrond
2005-11-09 18:53 ` Bill Davidsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051108211354.546e0163.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=gregkh@suse.de \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®