Files
linux-stable-mirror/drivers
Mikulas Patocka 888a0a46b8 dm: limit the number of targets and parameter size area
commit bd504bcfec upstream.

The kvmalloc function fails with a warning if the size is larger than
INT_MAX. The warning was triggered by a syscall testing robot.

In order to avoid the warning, this commit limits the number of targets to
1048576 and the size of the parameter area to 1073741824.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: He Gao <hegao@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:55:14 +01:00
..
2024-02-23 08:55:10 +01:00
2024-02-23 08:55:10 +01:00
2024-02-23 08:54:38 +01:00
2024-02-23 08:55:02 +01:00
2024-01-25 14:52:31 -08:00