mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 05:05:12 +02:00
quota2: use strtoull instead of strtoul
This commit is contained in:
@@ -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)
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user