summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-11-23 09:52:51 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-23 09:52:51 -0800
commit73570314e4fa1605189a32c493fd15eebdc44863 (patch)
tree7d36ef1cee1177593b1a45b7619170b5bfa51298 /net/netfilter
parent63edaf647607795a065e6956a79c47f500dc8447 (diff)
parent8fa539bd911e8a7faa7cd77b5192229c9666d9b8 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/xt_limit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_limit.c b/net/netfilter/xt_limit.c
index 2e8089ecd0a..2773be6a71d 100644
--- a/net/netfilter/xt_limit.c
+++ b/net/netfilter/xt_limit.c
@@ -112,7 +112,7 @@ static bool limit_mt_check(const struct xt_mtchk_param *par)
priv = kmalloc(sizeof(*priv), GFP_KERNEL);
if (priv == NULL)
- return -ENOMEM;
+ return false;
/* For SMP, we only want to use one set of state. */
r->master = priv;