Re: [PATCH nf-next] netfilter: limit: use per-rule spinlock to improve the scalability

2017-03-13 Thread Pablo Neira Ayuso
On Sat, Mar 11, 2017 at 02:08:09PM +0800, Liping Zhang wrote: > From: Liping Zhang > > The limit token is independent between each rules, so there's no > need to use a global spinlock. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH nf-next] netfilter: limit: use per-rule spinlock to improve the scalability

2017-03-10 Thread Liping Zhang
From: Liping Zhang The limit token is independent between each rules, so there's no need to use a global spinlock. Signed-off-by: Liping Zhang --- net/netfilter/nft_limit.c | 10 +- net/netfilter/xt_limit.c | 11 ++- 2 files changed,