Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1389392

[PATCH] Fix might sleep warning.

From "Pranay Kr. Srivastava" <pranjas@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] Fix might sleep warning.
Date 2016-04-27 19:20 +0200
Message-ID <rsBi2-4Sv-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


When an nbd request times out then the nbd_xmit_timeout
tries to close the socket by taking a spin_lock over the
socket. This however generates a warning on 
kernel_sock_shutdown. This patch fixes this issue.

Pranay Kr. Srivastava (1):
  fix might_sleep warning on socket shutdown

 drivers/block/nbd.c | 85 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 50 insertions(+), 35 deletions(-)

-- 
2.6.2

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] Fix might sleep warning. "Pranay Kr. Srivastava" <pranjas@gmail.com> - 2016-04-27 19:20 +0200

csiph-web