summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-01-02 08:23:32 -0500
committerMike Snitzer <snitzer@redhat.com>2020-01-07 12:07:32 -0500
commit9402e959014a18b4ebf7558733076875808dd66c (patch)
treea2876b4f882b0ae15d4db7cbb5d9f9ebf06fe0b2 /lib
parent4306904053902c7e7827815722f82015dc274ba3 (diff)
downloadlinux-stable-9402e959014a18b4ebf7558733076875808dd66c.tar.gz
linux-stable-9402e959014a18b4ebf7558733076875808dd66c.tar.bz2
linux-stable-9402e959014a18b4ebf7558733076875808dd66c.zip
dm crypt: fix GFP flags passed to skcipher_request_alloc()
GFP_KERNEL is not supposed to be or'd with GFP_NOFS (the result is equivalent to GFP_KERNEL). Also, we use GFP_NOIO instead of GFP_NOFS because we don't want any I/O being submitted in the direct reclaim path. Fixes: 39d13a1ac41d ("dm crypt: reuse eboiv skcipher for IV generation") Cc: stable@vger.kernel.org # v5.4+ Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions