virtio: fix scatterlist sizing in net driver.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 May 2008 02:50:45 +0000 (21:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 2 May 2008 11:50:45 +0000 (21:50 +1000)
Herbert Xu points out (within another patch) that my scatterlists are
too short: one entry for the gso header, one for the skb->data, and
MAX_SKB_FRAGS for all the fragments.

Fix both xmit and recv sides (recv currently unused, coming in later
patch).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found