aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/netfilter/ip6_tables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index 5a1c6f27ffaf..4c1492ff473c 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -1578,7 +1578,6 @@ compat_copy_entry_from_user(struct compat_ip6t_entry *e, void **dstptr,
1578 struct xt_table_info *newinfo, unsigned char *base) 1578 struct xt_table_info *newinfo, unsigned char *base)
1579{ 1579{
1580 struct xt_entry_target *t; 1580 struct xt_entry_target *t;
1581 struct xt_target *target;
1582 struct ip6t_entry *de; 1581 struct ip6t_entry *de;
1583 unsigned int origsize; 1582 unsigned int origsize;
1584 int ret, h; 1583 int ret, h;
@@ -1600,7 +1599,6 @@ compat_copy_entry_from_user(struct compat_ip6t_entry *e, void **dstptr,
1600 } 1599 }
1601 de->target_offset = e->target_offset - (origsize - *size); 1600 de->target_offset = e->target_offset - (origsize - *size);
1602 t = compat_ip6t_get_target(e); 1601 t = compat_ip6t_get_target(e);
1603 target = t->u.kernel.target;
1604 xt_compat_target_from_user(t, dstptr, size); 1602 xt_compat_target_from_user(t, dstptr, size);
1605 1603
1606 de->next_offset = e->next_offset - (origsize - *size); 1604 de->next_offset = e->next_offset - (origsize - *size);