From: <rsw...@us...> - 2010-06-29 22:00:48
|
Revision: 349 http://iscsitarget.svn.sourceforge.net/iscsitarget/?rev=349&view=rev Author: rswwalker Date: 2010-06-29 22:00:42 +0000 (Tue, 29 Jun 2010) Log Message: ----------- IET 1.4.20 introduced a bug where UAs could be allocated within a spin lock which would cause a soft lockup as they were alloc'd GFP_KERNEL. Signed-off-by: Ross Walker Modified Paths: -------------- trunk/kernel/ua.c Modified: trunk/kernel/ua.c =================================================================== --- trunk/kernel/ua.c 2010-06-29 22:00:23 UTC (rev 348) +++ trunk/kernel/ua.c 2010-06-29 22:00:42 UTC (rev 349) @@ -108,7 +108,7 @@ u8 asc, u8 ascq) { struct list_head *l = &sess->ua_hash[ua_hashfn(lun)]; - struct ua_entry *ua = kmem_cache_alloc(ua_cache, GFP_KERNEL); + struct ua_entry *ua = kmem_cache_alloc(ua_cache, GFP_ATOMIC); struct ua_entry *e; if (!ua) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |