diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-11 08:03:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-11 08:03:26 +0200 |
commit | d250fe91ae129bff0968e685cc9c466d3a5e3482 (patch) | |
tree | e38b7628a5c6afb80c22341759f392585e558cb1 /net/sched | |
parent | net: trans_start cleanups (diff) | |
parent | netfilter: use rcu_dereference_protected() (diff) | |
download | linux-d250fe91ae129bff0968e685cc9c466d3a5e3482.tar.xz linux-d250fe91ae129bff0968e685cc9c466d3a5e3482.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/act_ipt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c index da27a170b6b7..03f80a0fa167 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c @@ -47,8 +47,8 @@ static int ipt_init_target(struct ipt_entry_target *t, char *table, unsigned int target = xt_request_find_target(AF_INET, t->u.user.name, t->u.user.revision); - if (!target) - return -ENOENT; + if (IS_ERR(target)) + return PTR_ERR(target); t->u.kernel.target = target; par.table = table; |