commit | d2a7b6bad2c38e41eddb0b24d03627d9e7aa3f7b | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Fri Jul 10 18:55:11 2009 +0200 |
committer | Jan Engelhardt <jengelh@medozas.de> | Thu Mar 25 15:02:19 2010 +0100 |
tree | 826eb9d112029819aa44925346a55f887b1c3baf | |
parent | ff67e4e42bd178b1179c4d8e5c1fde18758ce84f [diff] [blame] |
netfilter: xtables: make use of xt_request_find_target Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c index 082c520..b9f79c2 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c
@@ -46,8 +46,8 @@ 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;