Re: [PATCH v2 3/3] netfilter: x_tables: Use correct memory barriers.

2021-03-09 Thread Florian Westphal
Mark Tomlinson wrote: > When a new table value was assigned, it was followed by a write memory > barrier. This ensured that all writes before this point would complete > before any writes after this point. However, to determine whether the > rules are unused, the sequence counter is read. To

[PATCH v2 3/3] netfilter: x_tables: Use correct memory barriers.

2021-03-07 Thread Mark Tomlinson
When a new table value was assigned, it was followed by a write memory barrier. This ensured that all writes before this point would complete before any writes after this point. However, to determine whether the rules are unused, the sequence counter is read. To ensure that all writes have been