dm-stripe: fix a possible integer overflow
There's a possible integer overflow in stripe_io_hints if we have too large chunk size. Test if the overflow happened, and if it did, don't set limits->io_min and limits->io_opt; Signed-off-by:Mikulas Patocka <mpatocka@redhat.com> Reviewed-by:
John Garry <john.g.garry@oracle.com> Suggested-by:
Dongsheng Yang <dongsheng.yang@linux.dev> Cc: stable@vger.kernel.org
Loading
Please sign in to comment