Skip to content

ipset: more hash:iface test cases

Florian Westphal netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests: hash:net,iface: add test for maxelem settingtests/hash:net,iface.t+32 -00 replies
2/2tests: hash:net,iface: add of an interface covered by a wildcardtests/hash:net,iface.t+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH ipset 0/2] ipset: more hash:iface test cases

1) Add maxelem upper-bound test for hash:net and hash:iface. Verify forceadd flag behavior.

2) Add tests for hash:net,iface wildcard coverage. Verify that adding an interface already matched by a wildcard fails with EXIST, and that -exist refreshes the wildcard entry instead of duplicating it.

Both tests pass on unpatched nf:main.
rhashtable patchset failed the 2nd test.

Florian Westphal (2):
tests: hash:net,iface: add test for maxelem setting
tests: hash:net,iface: add of an interface covered by a wildcard

 tests/hash:net,iface.t | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
Signature · 1 line
2.56.1