[PATCH -next v4 0/4] Fix hungtask when nbd_config_put and sanity check for first_minor
From: Ye Bin
Date: Mon Nov 01 2021 - 21:40:00 EST
This patchset include two patchsets as follows:
1. Fix hungtask when nbd_config_put
https://patchwork.kernel.org/project/linux-block/list/?series=573381
2. nbd: fix sanity check for first_minor
https://lore.kernel.org/linux-block/20211021122936.758221-1-yukuai3@xxxxxxxxxx/
I have consulted with Yu Kuai, and his modification has also been confirmed by him.
Ye Bin (2):
nbd: Fix incorrect error handle when first_minor is illegal in
nbd_dev_add
nbd: Fix hungtask when nbd_config_put
Yu Kuai (2):
nbd: fix max value for 'first_minor'
nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
drivers/block/nbd.c | 42 +++++++++++++++++++-----------------------
1 file changed, 19 insertions(+), 23 deletions(-)
--
2.31.1