From a0948e0a98dd1c1541dc411ce07784cd4e95c0e9 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Thu, 20 Aug 2009 02:47:34 +0000 Subject: [PATCH] --- yaml --- r: 157026 b: refs/heads/master c: 2149f66f49ab07515666127bf5140c5c94677af8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/netfilter/xt_quota.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a877ed4b7b6e..51c9cd1da727 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ca6982b858e1d08010c1d29d8e8255b2ac2ad70a +refs/heads/master: 2149f66f49ab07515666127bf5140c5c94677af8 diff --git a/trunk/net/netfilter/xt_quota.c b/trunk/net/netfilter/xt_quota.c index 98fc190e8f0e..390b7d09fe51 100644 --- a/trunk/net/netfilter/xt_quota.c +++ b/trunk/net/netfilter/xt_quota.c @@ -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;