netfilter: x_tables: allow to use default cgroup match
[platform/kernel/linux-stable.git] / net / netfilter / xt_cgroup.c
index 9a8e77e..ef5c75a 100644 (file)
@@ -31,7 +31,7 @@ static int cgroup_mt_check(const struct xt_mtchk_param *par)
        if (info->invert & ~1)
                return -EINVAL;
 
-       return info->id ? 0 : -EINVAL;
+       return 0;
 }
 
 static bool