mbox series

[-next,v4,0/4] Fix hungtask when nbd_config_put and sanity check for first_minor

Message ID 20211102015237.2309763-1-yebin10@huawei.com (mailing list archive)
Headers show
Series Fix hungtask when nbd_config_put and sanity check for first_minor | expand

Message

yebin (H) Nov. 2, 2021, 1:52 a.m. UTC
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@huawei.com/

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(-)

Comments

Josef Bacik Nov. 2, 2021, 1:04 p.m. UTC | #1
On Tue, Nov 02, 2021 at 09:52:33AM +0800, Ye Bin wrote:
> 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@huawei.com/
> 
> 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(-)
> 

Perfect, thanks guys, you can add

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

to the series,

Josef
Jens Axboe Nov. 2, 2021, 4:50 p.m. UTC | #2
On Tue, 2 Nov 2021 09:52:33 +0800, Ye Bin wrote:
> 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@huawei.com/
> 
> I have consulted with Yu Kuai, and his modification has also been confirmed by him.
> 
> [...]

Applied, thanks!

[1/4] nbd: fix max value for 'first_minor'
      commit: e4c4871a73944353ea23e319de27ef73ce546623
[2/4] nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
      commit: 940c264984fd1457918393c49674f6b39ee16506
[3/4] nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
      commit: 69beb62ff0d1723a750eebe1c4d01da573d7cd19
[4/4] nbd: Fix hungtask when nbd_config_put
      commit: e2daec488c57069a4a431d5b752f50294c4bf273

Best regards,