xt_quota: report initial quota value instead of current value to userspace
authorChangli Gao <xiaosuo@gmail.com>
Fri, 23 Jul 2010 12:07:47 +0000 (14:07 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 23 Jul 2010 12:07:47 +0000 (14:07 +0200)
commit49daf6a22622d4e1619aeaad5f9f0472bf89daff
treea86af0b0f846fc187eaa45ffdad96976bfd38331
parentb0c81aa566cccbe26bd99237873fb8428827d82f
xt_quota: report initial quota value instead of current value to userspace

We should copy the initial value to userspace for iptables-save and
to allow removal of specific quota rules.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/xt_quota.h
net/netfilter/xt_quota.c