On Tuesday 08 November 2005 10:13, Greg KH wrote:
> On Thu, Nov 03, 2005 at 07:55:38AM +1100, Herbert Xu wrote:
> > The recent rewrite of skb_copy_datagram_iovec broke the reception of
> > zero-size datagrams.  This patch fixes it.
> >
> > Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
> >
> > Please apply it to both 2.6.15 and 2.6.14.
>
> queued to -stable.

Blush.  Is it worth putting the initialization after the exit on zero?

        int i, err, fraglen, end = 0;
        struct sk_buff *next;

        if (!len)
                return 0;

        next = skb_shinfo(skb)->frag_list;

Regards,

Daniel
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to