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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux