xt_quota: report initial quota value instead of current value to userspace
[pandora-kernel.git] / net / netfilter / xt_quota.c
index 304b1fd..70eb2b4 100644 (file)
@@ -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;