diff --git a/doc/changelog.txt b/doc/changelog.txt index b75fb0b..a2a3545 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -4,6 +4,7 @@ - quota2: support anonymous counters - quota2: reduce memory footprint for anonymous counters - quota2: extend locked period during cleanup (locking bugfix) +- quota2: use strtoull instead of strtoul Xtables-addons 1.17 (June 16 2009) diff --git a/extensions/xt_quota2.c b/extensions/xt_quota2.c index 346ac4f..ba1dc10 100644 --- a/extensions/xt_quota2.c +++ b/extensions/xt_quota2.c @@ -69,7 +69,7 @@ static int quota_proc_write(struct file *file, const char __user *input, buf[sizeof(buf)-1] = '\0'; spin_lock_bh(&e->lock); - e->quota = simple_strtoul(buf, NULL, 0); + e->quota = simple_strtoull(buf, NULL, 0); spin_unlock_bh(&e->lock); return size; }