Thread (9 messages) flat view 9 messages, 5 authors, 2013-10-23

RE: [PATCH 3/3] netfilter: x_tables: fix ordering of jumpstack allocation and table update

From: Eric Dumazet <hidden>
Date: 2013-10-23 12:13:33
Also in: netfilter-devel

On Wed, 2013-10-23 at 10:45 +0100, David Laight wrote:
Those writes were in the wrong order on all systems.
Also gcc needs to be told not to reorder the writes even on non-smp
systems (if the code might be pre-empted).
So an asm volatile (:::"memory") is needed there even if no specific
synchronisation instruction is needed.
smp_wmb() contains this compiler barrier already.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help