Skip to content

Commit

Permalink
BHYVE: OS-6798 viona_recv_merged() can corrupt used ring
Browse files Browse the repository at this point in the history
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
  • Loading branch information
bcantrill authored and hadfl committed Mar 28, 2018
1 parent 073a41f commit d0d9382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usr/src/uts/i86pc/io/viona/viona.c
Expand Up @@ -1670,6 +1670,7 @@ viona_recv_merged(viona_vring_t *ring, const mblk_t *mp, size_t msz)
* drop the packet.
*/
err = EMSGSIZE;
break;
}
chunk = 0;
i = 0;
Expand Down

0 comments on commit d0d9382

Please sign in to comment.