Unverified Commit cf4d6803 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3450 Backport nbd bugfix patch

Merge Pull Request from: @ci-robot 
 
PR sync from: Li Nan <linan122@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/6JJHNNGVOIZB3FU7YP3GABV4MLBNMOBX/ 
Li Nan (4):
  nbd: fold nbd config initialization into nbd_alloc_config()
  nbd: factor out a helper to get nbd_config without holding
    'config_lock'
  nbd: fix null-ptr-dereference while accessing 'nbd->config'
  nbd: pass nbd_sock to nbd_read_reply() instead of index


-- 
2.39.2
 
https://gitee.com/openeuler/kernel/issues/I8P7B3 
 
Link:https://gitee.com/openeuler/kernel/pulls/3450

 

Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 5db3f4f3 e7a5dd55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment