Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: ignore packet size greater than INT_MAX
There should not be a reason for passing a packet size greater than INT_MAX. It's usually a hint of bug somewhere, so ignore packet size greater than INT_MAX in qemu_deliver_packet_iov() CC: qemu-stable@nongnu.org Reported-by: Daniel Shapira <daniel@twistlock.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> (cherry picked from commit 1592a99) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information