Loading include/linux/netfilter/xt_quota.h +1 −1 Original line number Diff line number Diff line Loading @@ -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; }; Loading net/netfilter/xt_quota.c +0 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
include/linux/netfilter/xt_quota.h +1 −1 Original line number Diff line number Diff line Loading @@ -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; }; Loading
net/netfilter/xt_quota.c +0 −2 Original line number Diff line number Diff line Loading @@ -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; Loading