lkml.org 
[lkml]   [2008]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH BUGFIX -v2 -rc4] Smack: Respect 'unlabeled' netlabel mode
From
Date
Hello.

Ahmed S. Darwish wrote:
> default:
> + mutex_lock(&smack_ambient_lock);
> + nlsp->domain = kstrdup(smack_net_ambient, GFP_ATOMIC);
> + mutex_unlock(&smack_ambient_lock);
> +
> + nlsp->flags = NETLBL_SECATTR_DOMAIN;
> break;

Getting a mutex lock might sleep, so why not use GFP_KERNEL ?


\
 
 \ /
  Last update: 2008-05-31 01:13    [W:0.205 / U:1.300 seconds]
©2003-2014 Jasper Spaans. Advertise on this site