Skip to content
Commit 05271685 authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: fix scatterlist sizing in net driver.



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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent cb38fa23
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment