Commit 2b84e21
committed
netfilter: nft_set_pipapo: .walk does not deal with generations
The .walk callback iterates over the current active set, but it might be
useful to iterate over the next generation set. Use the generation mask
to determine what set view (either current or next generation) is use
for the walk iteration.
Fixes: 3c4287f ("nf_tables: Add set type for arbitrary concatenation of ranges")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent 628bd3e commit 2b84e21
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
| 1977 | + | |
1977 | 1978 | | |
1978 | 1979 | | |
1979 | 1980 | | |
1980 | 1981 | | |
1981 | 1982 | | |
1982 | | - | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
1983 | 1987 | | |
1984 | 1988 | | |
1985 | 1989 | | |
| |||
0 commit comments