[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090608.002247.96928247.davem@davemloft.net>
Date: Mon, 08 Jun 2009 00:22:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: rusty@...tcorp.com.au, netdev@...r.kernel.org
Subject: Re: virtio_net: Set correct gso->hdr_len
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 4 Jun 2009 20:59:18 +1000
> Hi:
>
> virtio_net: Set correct gso->hdr_len
>
> Through a bug in the tun driver, I noticed that virtio_net is
> producing bogus hdr_len values. In particular, it only includes
> the IP header in the linear area, and excludes the entire TCP
> header. This causes the TCP header to be copied twice for each
> packet. (The bug omitted the second copy :)
>
> This patch corrects this.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists