git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xt_quota: report initial quota value instead of current value to userspace
[pandora-kernel.git]
/
net
/
netfilter
/
xt_quota.c
diff --git
a/net/netfilter/xt_quota.c
b/net/netfilter/xt_quota.c
index
304b1fd
..
70eb2b4
100644
(file)
--- a/
net/netfilter/xt_quota.c
+++ b/
net/netfilter/xt_quota.c
@@
-36,8
+36,6
@@
quota_mt(const struct sk_buff *skb, struct xt_action_param *par)
/* we do not allow even small packets from now on */
priv->quota = 0;
}
- /* Copy quota back to matchinfo so that iptables can display it */
- q->quota = priv->quota;
spin_unlock_bh(&priv->lock);
return ret;