diff options
Diffstat (limited to 'net/sched/act_ipt.c')
-rw-r--r-- | net/sched/act_ipt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c index 01e69138578d..0fdabfa9f4bf 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c | |||
@@ -52,7 +52,7 @@ static struct tcf_hashinfo ipt_hash_info = { | |||
52 | 52 | ||
53 | static int ipt_init_target(struct ipt_entry_target *t, char *table, unsigned int hook) | 53 | static int ipt_init_target(struct ipt_entry_target *t, char *table, unsigned int hook) |
54 | { | 54 | { |
55 | struct ipt_target *target; | 55 | struct xt_target *target; |
56 | int ret = 0; | 56 | int ret = 0; |
57 | 57 | ||
58 | target = xt_request_find_target(AF_INET, t->u.user.name, | 58 | target = xt_request_find_target(AF_INET, t->u.user.name, |
@@ -70,7 +70,7 @@ static int ipt_init_target(struct ipt_entry_target *t, char *table, unsigned int | |||
70 | } | 70 | } |
71 | if (t->u.kernel.target->checkentry | 71 | if (t->u.kernel.target->checkentry |
72 | && !t->u.kernel.target->checkentry(table, NULL, | 72 | && !t->u.kernel.target->checkentry(table, NULL, |
73 | t->u.kernel.target, t->data, | 73 | t->u.kernel.target, t->data, |
74 | hook)) { | 74 | hook)) { |
75 | module_put(t->u.kernel.target->me); | 75 | module_put(t->u.kernel.target->me); |
76 | ret = -EINVAL; | 76 | ret = -EINVAL; |
@@ -83,7 +83,7 @@ static void ipt_destroy_target(struct ipt_entry_target *t) | |||
83 | { | 83 | { |
84 | if (t->u.kernel.target->destroy) | 84 | if (t->u.kernel.target->destroy) |
85 | t->u.kernel.target->destroy(t->u.kernel.target, t->data); | 85 | t->u.kernel.target->destroy(t->u.kernel.target, t->data); |
86 | module_put(t->u.kernel.target->me); | 86 | module_put(t->u.kernel.target->me); |
87 | } | 87 | } |
88 | 88 | ||
89 | static int tcf_ipt_release(struct tcf_ipt *ipt, int bind) | 89 | static int tcf_ipt_release(struct tcf_ipt *ipt, int bind) |