Re: Concurrent iptables-restore calls clobberring each other

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This is by design; the RMW cycle in principle also affects the "slower"
> iptables - which is why it is slower, because it does only one rule per cycle.

Thanks for the response. I understand that the RMW is by design. Is there
any protection built into the protocol to prevent concurrent writes from
clobbering each other?  I thought I'd read that there was a "version"
on the read
that let the kernel spot if a write was stale.

My second script acts as if there is; the commits of the "kube" loop
fail reliably
rather than clobbering the writes of the "felix" loop.  However,
that's not the case
for the first script.  I'm wondering if there is supposed to be
protection but it's
bugged.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux