Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203978
b: refs/heads/master
c: 49daf6a
h: refs/heads/master
v: v3
  • Loading branch information
Changli Gao authored and Patrick McHardy committed Jul 23, 2010
1 parent 55d0c9a commit c34a671
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0c81aa566cccbe26bd99237873fb8428827d82f
refs/heads/master: 49daf6a22622d4e1619aeaad5f9f0472bf89daff
2 changes: 1 addition & 1 deletion trunk/include/linux/netfilter/xt_quota.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ struct xt_quota_priv;
struct xt_quota_info {
u_int32_t flags;
u_int32_t pad;
aligned_u64 quota;

/* Used internally by the kernel */
aligned_u64 quota;
struct xt_quota_priv *master;
};

Expand Down
2 changes: 0 additions & 2 deletions trunk/net/netfilter/xt_quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c34a671

Please sign in to comment.