|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [1/4] [NET] back: Fix maximum fragment check
Hi:
Here we go, these are all based on xen-unstable so please disregard all
previous unmerged patches from me.
[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 89ffce2cc120
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
12:13:20 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] Re: [1/2] [NET] back: Make extra info slot more generic, (continued)
- [Xen-devel] Re: [1/2] [NET] back: Make extra info slot more generic, Herbert Xu
- [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
|
|
|
|
|