Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3779298b authored by David S. Miller's avatar David S. Miller
Browse files
parents 8444cf71 ee05d693
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ static int get_rx_bufs(struct vhost_virtqueue *vq,
	int r, nlogs = 0;

	while (datalen > 0) {
		if (unlikely(headcount >= VHOST_NET_MAX_SG)) {
		if (unlikely(seg >= VHOST_NET_MAX_SG)) {
			r = -ENOBUFS;
			goto err;
		}