0a475ef422
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: |
||
---|---|---|
.. | ||
Kbuild | ||
Kconfig | ||
ib_srp.c | ||
ib_srp.h |