netfilter: Remove Samsung debug from xt_quota2
Change-Id: I0f835016b7fd6ca16a3ff12e46a6e02341a6679e
This commit is contained in:
parent
819f593aa3
commit
9fe9503eac
|
@ -306,15 +306,7 @@ quota_mt2(const struct sk_buff *skb, struct xt_action_param *par)
|
||||||
if (e->quota >= skb->len) {
|
if (e->quota >= skb->len) {
|
||||||
if (!(q->flags & XT_QUOTA_NO_CHANGE))
|
if (!(q->flags & XT_QUOTA_NO_CHANGE))
|
||||||
e->quota -= (q->flags & XT_QUOTA_PACKET) ? 1 : skb->len;
|
e->quota -= (q->flags & XT_QUOTA_PACKET) ? 1 : skb->len;
|
||||||
|
ret = !ret;
|
||||||
if (!e->quota) {
|
|
||||||
quota2_log(par->hooknum,
|
|
||||||
skb,
|
|
||||||
par->in,
|
|
||||||
par->out,
|
|
||||||
q->name);
|
|
||||||
} else
|
|
||||||
ret = !ret;
|
|
||||||
} else {
|
} else {
|
||||||
/* We are transitioning, log that fact. */
|
/* We are transitioning, log that fact. */
|
||||||
if (e->quota) {
|
if (e->quota) {
|
||||||
|
|
Loading…
Reference in New Issue