summaryrefslogtreecommitdiffstats
path: root/crypto/chacha20poly1305.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-05-09 03:33:54 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-14 21:16:10 +0200
commit45db54d58de0b7171fe1f0d1dfc14378e464949e (patch)
tree7710877ae0fa69ef957a8087785fb1e7e0d1e06d /crypto/chacha20poly1305.c
parentblock: Add bio_copy_data_iter(), zero_fill_bio_iter() (diff)
downloadlinux-45db54d58de0b7171fe1f0d1dfc14378e464949e.tar.xz
linux-45db54d58de0b7171fe1f0d1dfc14378e464949e.zip
block: Split out bio_list_copy_data()
Found a bug (with ASAN) where we were passing a bio to bio_copy_data() with bi_next not NULL, when it should have been - a driver had left bi_next set to something after calling bio_endio(). Since the normal case is only copying single bios, split out bio_list_copy_data() to avoid more bugs like this in the future. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/chacha20poly1305.c')
0 files changed, 0 insertions, 0 deletions