Re: [PATCH v7 5/5] virtio_net: check return value of skb_to_sgvec always
From: Jason A. Donenfeld
Date: Tue May 09 2017 - 10:10:40 EST
On Tue, May 9, 2017 at 3:50 PM, Jason A. Donenfeld <Jason@xxxxxxxxx> wrote:
> num_sg = skb_to_sgvec(skb, sq->sg + 1, 0, skb->len) + 1;
(The next submission of this will take into account this + 1 here.
https://git.zx2c4.com/linux-dev/log/?h=jd/safe-skb-vec )