Skip to content

netfilter: xt_hashlimit: a few improvements

Cong Wang netdev netfilter-devel 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesApplied
  2. v13 patches 10 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3xt_hashlimit: avoid OOM for user-controlled vmallocnet/netfilter/xt_hashlimit.c+2 -24 replies
2/3xt_hashlimit: reduce hashlimit_mutex scope for htable_put()net/netfilter/xt_hashlimit.c+6 -61 reply
3/3xt_hashlimit: limit the max size of hashtablenet/netfilter/xt_hashlimit.c+10 -02 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

Patch[email protected]Florian Westphal
1/3Reported-and-tested-by
2/3Reported-and-tested-by A-b
3/3Reported-and-tested-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Patch nf v2 0/3] netfilter: xt_hashlimit: a few improvements

This patchset improves vmalloc allocation handling and hashlimit_mutex usage for xt_hashlimit.

---
v2: address review comments

Cong Wang (3):
xt_hashlimit: avoid OOM for user-controlled vmalloc
xt_hashlimit: reduce hashlimit_mutex scope for htable_put()
xt_hashlimit: limit the max size of hashtable

 net/netfilter/xt_hashlimit.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
Signature · 1 line
2.21.1