]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/netfilter/xt_quota.c
net: Simplify conntrack_proto_gre pernet operations.
[karo-tx-linux.git] / net / netfilter / xt_quota.c
index 98fc190e8f0eed8683e9836b6be1567ecea74382..390b7d09fe512f2957769ace3b8a579b64f64086 100644 (file)
@@ -52,7 +52,7 @@ static bool quota_mt_check(const struct xt_mtchk_param *par)
 
        q->master = kmalloc(sizeof(*q->master), GFP_KERNEL);
        if (q->master == NULL)
-               return -ENOMEM;
+               return false;
 
        q->master->quota = q->quota;
        return true;