path: root/src
diff options
authorJosh Hunt <>2014-02-28 22:14:58 -0500
committerJozsef Kadlecsik <>2014-03-04 17:36:49 +0100
commit51ffda2edac5f30fa59d7e2728fe67868f2b850e (patch)
tree749cf84d5401c68e4d4964518a1f9baa674baef7 /src
parentca6038b28b875211f3a17f27e8c28af7a55898f7 (diff)
ipset: add userspace support for forceadd
The userspace side of the forceadd changes. Signed-off-by: Josh Hunt <> Signed-off-by: Jozsef Kadlecsik <>
Diffstat (limited to 'src')
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ipset.8 b/src/ipset.8
index eeda9e7..6c9a0f5 100644
--- a/src/ipset.8
+++ b/src/ipset.8
@@ -327,6 +327,13 @@ ipset add foo comment "allow access to SMB share on \\\\\\\\files
the above would appear as: "allow access to SMB share on \\\\fileserv\\"
+.SS forceadd
+All hash set types support the optional \fBforceadd\fR parameter when creating a set.
+When sets created with this option become full the next addition to the set may
+succeed and evict a random entry from the set.
+ipset create foo hash:ip forceadd
.SS bitmap:ip
The \fBbitmap:ip\fR set type uses a memory range to store either IPv4 host