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 0453d79ebf57..082c520b0def 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c | |||
@@ -136,8 +136,8 @@ static int tcf_ipt_init(struct nlattr *nla, struct nlattr *est, | |||
136 | if (!pc) { | 136 | if (!pc) { |
137 | pc = tcf_hash_create(index, est, a, sizeof(*ipt), bind, | 137 | pc = tcf_hash_create(index, est, a, sizeof(*ipt), bind, |
138 | &ipt_idx_gen, &ipt_hash_info); | 138 | &ipt_idx_gen, &ipt_hash_info); |
139 | if (unlikely(!pc)) | 139 | if (IS_ERR(pc)) |
140 | return -ENOMEM; | 140 | return PTR_ERR(pc); |
141 | ret = ACT_P_CREATED; | 141 | ret = ACT_P_CREATED; |
142 | } else { | 142 | } else { |
143 | if (!ovr) { | 143 | if (!ovr) { |