diff options
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r-- | security/smack/smack_lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 732ba27923c4..e2d6f7cd9254 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
@@ -1275,7 +1275,7 @@ static void smack_to_secattr(char *smack, struct netlbl_lsm_secattr *nlsp) | |||
1275 | 1275 | ||
1276 | switch (smack_net_nltype) { | 1276 | switch (smack_net_nltype) { |
1277 | case NETLBL_NLTYPE_CIPSOV4: | 1277 | case NETLBL_NLTYPE_CIPSOV4: |
1278 | nlsp->domain = kstrdup(smack, GFP_ATOMIC); | 1278 | nlsp->domain = smack; |
1279 | nlsp->flags = NETLBL_SECATTR_DOMAIN | NETLBL_SECATTR_MLS_LVL; | 1279 | nlsp->flags = NETLBL_SECATTR_DOMAIN | NETLBL_SECATTR_MLS_LVL; |
1280 | 1280 | ||
1281 | rc = smack_to_cipso(smack, &cipso); | 1281 | rc = smack_to_cipso(smack, &cipso); |