public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] nbd: fix use-after-freed and double lock bugs
@ 2020-11-03  3:07 xiubli
  2020-11-03  3:07 ` [PATCH v2 1/2] nbd: fix use-after-freed crash for nbd->recv_workq xiubli
  2020-11-03  3:07 ` [PATCH v2 2/2] nbd: add comments about double lock for config_lock confusion xiubli
  0 siblings, 2 replies; 5+ messages in thread
From: xiubli @ 2020-11-03  3:07 UTC (permalink / raw)
  To: josef, axboe, ming.lei; +Cc: nbd, linux-block, jdillama, mgolub, Xiubo Li

From: Xiubo Li <xiubli@redhat.com>

Changed in V2:
- fixed possible double lock issue in recv_work().
- adding comments instead to explain why there won't have double lock
issue.

Xiubo Li (2):
  nbd: fix use-after-freed crash for nbd->recv_workq
  nbd: add comments about double lock for config_lock confusion

 drivers/block/nbd.c | 36 +++++++++++++++++++++++++++++++-----
 1 file changed, 31 insertions(+), 5 deletions(-)

-- 
2.18.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-03  6:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-03  3:07 [PATCH v2 0/2] nbd: fix use-after-freed and double lock bugs xiubli
2020-11-03  3:07 ` [PATCH v2 1/2] nbd: fix use-after-freed crash for nbd->recv_workq xiubli
2020-11-03  4:12   ` Ming Lei
2020-11-03  6:40     ` Xiubo Li
2020-11-03  3:07 ` [PATCH v2 2/2] nbd: add comments about double lock for config_lock confusion xiubli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox