diff options
Diffstat (limited to 'net/netlabel')
-rw-r--r-- | net/netlabel/Kconfig | 2 | ||||
-rw-r--r-- | net/netlabel/netlabel_kapi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/netlabel/Kconfig b/net/netlabel/Kconfig index 9f7121ae13e..56958c85f2b 100644 --- a/net/netlabel/Kconfig +++ b/net/netlabel/Kconfig @@ -4,7 +4,7 @@ config NETLABEL bool "NetLabel subsystem support" - depends on NET && SECURITY + depends on SECURITY default n ---help--- NetLabel provides support for explicit network packet labeling diff --git a/net/netlabel/netlabel_kapi.c b/net/netlabel/netlabel_kapi.c index 54fb7de3c2b..ff971103fd0 100644 --- a/net/netlabel/netlabel_kapi.c +++ b/net/netlabel/netlabel_kapi.c @@ -200,7 +200,7 @@ void netlbl_cache_invalidate(void) int netlbl_cache_add(const struct sk_buff *skb, const struct netlbl_lsm_secattr *secattr) { - if (secattr->cache.data == NULL) + if (secattr->cache == NULL) return -ENOMSG; if (CIPSO_V4_OPTEXIST(skb)) |