|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [1/4] [NET] back: Fix maximum fragment check
Hi:
On Fri, Jun 30, 2006 at 12:40:47PM +1000, herbert wrote:
>
> [NET] back: Fix maximum fragment check
The net-tso patch has been merged upstream. I've also changed the
feature-tso interface to be a bit mask of the XEN gso_types bits.
It's now called feature-gso. This means we won't have to add one
feature for each protocol.
So here is a repost of the entire series.
[NET] back: Fix maximum fragment check
The maximum fragment check from the frontend is off by one.
Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff -r ae245d35457b -r 617e4d3351f3
linux-2.6-xen-sparse/drivers/xen/netback/netback.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c Wed Jun 28
13:59:29 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c Fri Jun 30
22:12:59 2006 +1000
@@ -751,7 +751,7 @@ static void net_tx_action(unsigned long
}
i += ret;
- if (unlikely(ret > MAX_SKB_FRAGS + 1)) {
+ if (unlikely(ret > MAX_SKB_FRAGS)) {
DPRINTK("Too many frags\n");
netbk_tx_err(netif, &txreq, i);
continue;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [2/2] [NET] front: Transmit TSO packets if supported, (continued)
- [Xen-devel] [2/2] [NET] front: Transmit TSO packets if supported, Herbert Xu
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Keir Fraser
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Herbert Xu
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Keir Fraser
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Herbert Xu
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Keir Fraser
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Herbert Xu
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Keir Fraser
- Re: [Xen-devel] [0/5] [NET]: Add TSO support, Herbert Xu
- [Xen-devel] [1/4] [NET] back: Fix maximum fragment check, Herbert Xu
- [Xen-devel] [1/4] [NET] back: Fix maximum fragment check,
Herbert Xu <=
- [Xen-devel] [2/4] [NET]: Update net-gso.patch, Herbert Xu
- [Xen-devel] [3/4] [NET] back: Make extra info slot more generic, Herbert Xu
- [Xen-devel] [4/4] [NET] front: Transmit TSO packets if supported, Herbert Xu
- [Xen-devel] Re: [1/4] [NET] back: Fix maximum fragment check, Keir Fraser
- [Xen-devel] Re: [1/4] [NET] back: Fix maximum fragment check, Herbert Xu
- [Xen-devel] Re: [1/4] [NET] back: Fix maximum fragment check, Keir Fraser
- [Xen-devel] Re: [1/4] [NET] back: Fix maximum fragment check, Herbert Xu
- [Xen-devel] Re: [1/4] [NET] back: Fix maximum fragment check, Herbert Xu
- [Xen-devel] [2/4] [NET]: Add net-tso.patch, Herbert Xu
- [Xen-devel] [3/4] [NET] back: Make extra info slot more generic, Herbert Xu
|
|
|
|
|