mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-19 16:16:45 +00:00
After setting indirect_sg_entries module_param to huge value (e.g 500,000), srp_alloc_req_data() fails to allocate indirect descriptors for the request ring (kmalloc fails). This commit enforces the maximum value of indirect_sg_entries to be SG_MAX_SEGMENTS as signified in module param description. Fixes: |
||
|---|---|---|
| .. | ||
| ib_srp.c | ||
| ib_srp.h | ||
| Kbuild | ||
| Kconfig | ||