On Fri, Jul 23, 2010 at 1:40 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote: > > Reading again your patch, I understand only the Changelog is wrong. > > We want to copy quota back to userspace, as specified when rule was > setup (so that iptables-save works) > > The real thing you are doing is that we dont change the initial quota > during packet processing, only the private quota, shared by all cpus. > > Before the patch , iptables -nvL could report an old and not accurate > quota value. > > After the patch, iptables -nvL reports the initial quota value, not the > actual value. > Yes. This module was expected to report the current quota value, when iptables -nvL or iptables-save was executed. It seems my patch changes its ABI. However, report the initial value is also meaningful, and it keeps the same behavior as the other modules do. -- Regards, Changli Gao(xiaosuo@xxxxxxxxx) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html