diff options
Diffstat (limited to 'net/netlabel')
-rw-r--r-- | net/netlabel/netlabel_unlabeled.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netlabel/netlabel_unlabeled.c b/net/netlabel/netlabel_unlabeled.c index fd53c7ae297..7f5df0cbc63 100644 --- a/net/netlabel/netlabel_unlabeled.c +++ b/net/netlabel/netlabel_unlabeled.c | |||
@@ -241,6 +241,7 @@ int netlbl_unlabel_getattr(struct netlbl_lsm_secattr *secattr) | |||
241 | if (netlabel_unlabel_acceptflg == 0) | 241 | if (netlabel_unlabel_acceptflg == 0) |
242 | return -ENOMSG; | 242 | return -ENOMSG; |
243 | netlbl_secattr_init(secattr); | 243 | netlbl_secattr_init(secattr); |
244 | secattr->type = NETLBL_NLTYPE_UNLABELED; | ||
244 | return 0; | 245 | return 0; |
245 | } | 246 | } |
246 | 247 | ||