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.084 / U:30.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site