Pablo Neira Ayuso
b2c11e4b95
netfilter: nf_tables: bump set->ndeact on set flush
...
Add missing set->ndeact update on each deactivated element from the set
flush path. Otherwise, sets with fixed size break after flush since
accounting breaks.
# nft add set x y { type ipv4_addr\; size 2\; }
# nft add element x y { 1.1.1.1 }
# nft add element x y { 1.1.1.2 }
# nft flush set x y
# nft add element x y { 1.1.1.1 }
<cmdline>:1:1-28: Error: Could not process rule: Too many open files in system
Fixes: 8411b6442e ("netfilter: nf_tables: support for set flushing")
Reported-by: Elise Lennion <elise.lennion@gmail.com >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
2017-01-24 21:46:59 +01:00
..
2016-09-19 20:19:34 +02:00
2016-09-23 13:47:44 -04:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-09-10 21:19:10 -07:00
2016-12-28 15:11:32 -05:00
2016-12-24 11:46:01 -08:00
2016-12-06 21:33:19 -05:00
2016-12-16 10:24:44 -08:00
2017-01-05 11:49:57 -05:00
2016-12-06 21:33:19 -05:00
2016-12-25 17:21:22 +01:00
2016-12-14 22:39:08 +01:00
2017-01-03 11:09:44 -05:00
2016-12-03 23:54:25 -05:00
2016-12-03 12:29:53 -05:00
2016-12-24 11:46:01 -08:00
2016-12-03 12:29:53 -05:00
2016-11-07 20:15:55 -05:00
2016-10-30 12:42:58 -04:00
2016-12-16 00:13:43 +02:00
2017-01-18 20:59:22 +01:00
2017-01-16 14:23:01 +01:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-12 19:25:04 -08:00
2016-10-07 15:36:58 -07:00
2016-11-18 10:59:15 -05:00
2017-01-01 22:07:20 -05:00
2016-09-10 23:12:53 -07:00
2016-12-24 11:46:01 -08:00
2016-11-14 13:17:21 -05:00
2017-01-02 11:28:25 +01:00
2016-12-25 17:21:22 +01:00
2016-12-06 21:33:19 -05:00
2016-10-20 11:23:08 -04:00
2017-01-24 21:46:59 +01:00
2017-01-06 22:20:45 -05:00
2016-12-24 11:46:01 -08:00
2016-10-27 16:16:09 -04:00
2016-12-27 12:28:07 -05:00
2016-12-24 11:46:01 -08:00
2016-11-18 10:59:15 -05:00
2016-12-20 14:22:49 -05:00
2016-12-24 11:46:01 -08:00
2016-12-14 16:04:10 -08:00
2016-12-28 14:28:13 -05:00
2016-12-25 17:21:22 +01:00
2016-10-12 01:51:49 -04:00
2016-12-25 17:21:22 +01:00
2016-10-30 12:42:58 -04:00
2016-12-23 17:53:47 -05:00
2016-12-24 11:46:01 -08:00
2016-12-17 20:17:04 -08:00
2016-10-27 16:16:09 -04:00
2017-01-05 10:59:53 +01:00
2016-12-24 11:46:01 -08:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2016-12-02 10:51:49 -05:00
2017-01-01 11:53:34 -05:00
2016-10-06 09:52:23 -07:00