Skip to content

Fix hungtask when nbd_config_put and sanity check for first_minor

Ye Bin linux-block lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest4 patches 2 repliesApplied

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4nbd: fix max value for 'first_minor'drivers/block/nbd.c+3 -30 replies
2/4nbd: fix possible overflow for 'first_minor' in nbd_dev_add()drivers/block/nbd.c+3 -30 replies
3/4nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_adddrivers/block/nbd.c+1 -10 replies
4/4nbd: Fix hungtask when nbd_config_putdrivers/block/nbd.c+16 -200 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef Bacik
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.31.1