diff options
Diffstat (limited to 'net/sched/act_ipt.c')
-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 082c520b0def..b9f79c251d75 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c | |||
@@ -46,8 +46,8 @@ static int ipt_init_target(struct ipt_entry_target *t, char *table, unsigned int | |||
46 | 46 | ||
47 | target = xt_request_find_target(AF_INET, t->u.user.name, | 47 | target = xt_request_find_target(AF_INET, t->u.user.name, |
48 | t->u.user.revision); | 48 | t->u.user.revision); |
49 | if (!target) | 49 | if (IS_ERR(target)) |
50 | return -ENOENT; | 50 | return PTR_ERR(target); |
51 | 51 | ||
52 | t->u.kernel.target = target; | 52 | t->u.kernel.target = target; |
53 | par.table = table; | 53 | par.table = table; |