|
From: Ross S. W. W. <RW...@me...> - 2010-06-29 21:34:05
|
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
Index: kernel/ua.c
===================================================================
--- kernel/ua.c (revision 339)
+++ kernel/ua.c (working copy)
@@ -108,7 +108,7 @@ void ua_establish_for_session(struct isc
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 e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
|