summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.ibm.com>2021-11-23 16:02:47 +0100
committerVasily Gorbik <gor@linux.ibm.com>2022-03-08 00:33:00 +0100
commit252a1ff777639ad13978a614f2cde1f0c43a7c2f (patch)
tree242fd78199146bbba1f15c1db008854a567b9f78 /mm
parents390/zcrypt: Support CPRB minor version T7 (diff)
downloadlinux-252a1ff777639ad13978a614f2cde1f0c43a7c2f.tar.xz
linux-252a1ff777639ad13978a614f2cde1f0c43a7c2f.zip
s390/zcrypt: change reply buffer size offering
Instead of offering the user space given receive buffer size to the crypto card firmware as limit for the reply message offer the internal per queue reply buffer size. As the queue's reply buffer is always adjusted to the max message size possible for this card this may offer more buffer space. However, now it is important to check the user space reply buffer on pushing back the reply. If the reply does not fit into the user space provided buffer the ioctl will fail with errno EMSGSIZE. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Jürgen Christ <jchrist@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions