lpm: avoid race conditions for v20