]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iscsit: use GFP_ATOMIC under spin lock
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 23 Nov 2012 04:07:39 +0000 (12:07 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 28 Nov 2012 06:49:21 +0000 (22:49 -0800)
commit3c989d7603872bf878840f7ce3ea49b73bea4c6c
treefcebcfca5299ca7593a78df17b6f7fb3b15a4bb8
parentb07c28aab52edffb592429637fed846c48dca0a8
iscsit: use GFP_ATOMIC under spin lock

The function iscsit_build_conn_drop_async_message() is called
from iscsit_close_connection() with spin lock 'sess->conn_lock'
held, so we should use GFP_ATOMIC instead of GFP_KERNEL.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c