summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorDavid Dillow <dillowda@ornl.gov>2008-04-17 04:01:12 (GMT)
committerRoland Dreier <rolandd@cisco.com>2008-04-17 04:01:12 (GMT)
commit1e89a1946cfd906d12eff437d2a76b3aa7f5e731 (patch)
tree2f48454d19bb6d6e07c5161d3307b68dc4978393 /crypto/Makefile
parent826d801009fb3c82832f2d92149446cce354bf61 (diff)
downloadlinux-1e89a1946cfd906d12eff437d2a76b3aa7f5e731.tar.xz
IB/srp: Enforce protocol limit on srp_sg_tablesize
The current SRP initiator will allow unlimited s/g entries in the indirect descriptors lists, but the entry count field in the SRP_CMD request is 8 bits, so setting srp_sg_tablesize too large will open the possibility of wrapping the count and generating invalid requests. Clamp srp_sg_tablesize to the protocol limits to prevent surprises. Reported by Martin W. Schlining III <mschlining@datadirectnet.com>. Signed-off-by: David Dillow <dillowda@ornl.gov> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions