kernel/net/ipv6/netfilter/ip6_tables.c
.. .. @@ -1062,7 +1062,6 @@ 1062 1062 struct xt_counters *counters; 1063 1063 struct ip6t_entry *iter; 1064 1064 1065 - ret = 0;1066 1065 counters = xt_counters_alloc(num_counters); 1067 1066 if (!counters) { 1068 1067 ret = -ENOMEM; .. .. @@ -1108,7 +1107,7 @@ 1108 1107 net_warn_ratelimited("ip6tables: counters copy to user failed while replacing table\n"); 1109 1108 } 1110 1109 vfree(counters); 1111 - return ret;1110 + return 0;1112 1111 1113 1112 put_module: 1114 1113 module_put(t->me);