netfilter: xt_quota: fix incomplete initialization
authorJan Engelhardt <jengelh@medozas.de>
Mon, 22 Jun 2009 12:16:45 +0000 (14:16 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 22 Jun 2009 12:16:45 +0000 (14:16 +0200)
commit6d62182fea6cc6bbc8d82a691ad0608d68a54aeb
treeeefff92d2a4c7fc6751485eacd21e620dd7ac925
parent249556192859490b6280552d4b877064f9f5ee48
netfilter: xt_quota: fix incomplete initialization

Commit v2.6.29-rc5-872-gacc738f ("xtables: avoid pointer to self")
forgot to copy the initial quota value supplied by iptables into the
private structure, thus counting from whatever was in the memory
kmalloc returned.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_quota.c