summaryrefslogtreecommitdiffstats
path: root/include/clocksource
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2018-01-10 15:32:47 +0100
committerMike Snitzer <snitzer@redhat.com>2018-01-17 15:08:57 +0100
commit717f4b1c52135f279112df82583e0c77e80f90de (patch)
treecac65d1d4f60325acad7923a218f051dec9e3bb6 /include/clocksource
parentdm crypt: fix crash by adding missing check for auth key size (diff)
downloadlinux-717f4b1c52135f279112df82583e0c77e80f90de.tar.xz
linux-717f4b1c52135f279112df82583e0c77e80f90de.zip
dm integrity: don't store cipher request on the stack
Some asynchronous cipher implementations may use DMA. The stack may be mapped in the vmalloc area that doesn't support DMA. Therefore, the cipher request and initialization vector shouldn't be on the stack. Fix this by allocating the request and iv with kmalloc. Cc: stable@vger.kernel.org # v4.12+ Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions