We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d89e2a commit 7c570c6Copy full SHA for 7c570c6
drivers/nvme/host/tcp.c
@@ -816,7 +816,7 @@ static void nvme_tcp_state_change(struct sock *sk)
816
{
817
struct nvme_tcp_queue *queue;
818
819
- read_lock(&sk->sk_callback_lock);
+ read_lock_bh(&sk->sk_callback_lock);
820
queue = sk->sk_user_data;
821
if (!queue)
822
goto done;
@@ -838,7 +838,7 @@ static void nvme_tcp_state_change(struct sock *sk)
838
839
queue->state_change(sk);
840
done:
841
- read_unlock(&sk->sk_callback_lock);
+ read_unlock_bh(&sk->sk_callback_lock);
842
}
843
844
static inline void nvme_tcp_done_send_req(struct nvme_tcp_queue *queue)
0 commit comments