Re: [lng-odp] [PATCH] ipsec: Fix ctx-state update race

2014-11-18 Thread Maxim Uvarov
Robbie, Taras anybody else, can you please add sign-off to that patch? Thanks, Maxim. On 11/14/2014 02:31 PM, Jerin Jacob wrote: In existing code, ctx-state of packet which received from ORDERED queue has been updated after sending the packet to ATOMIC queue. This creates a race between

Re: [lng-odp] [PATCH] ipsec: Fix ctx-state update race

2014-11-18 Thread Robbie King (robking)
AM To: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH] ipsec: Fix ctx-state update race In existing code, ctx-state of packet which received from ORDERED queue has been updated after sending the packet to ATOMIC queue. This creates a race between updating ctx-state from core x(ORDERED

[lng-odp] [PATCH] ipsec: Fix ctx-state update race

2014-11-14 Thread Jerin Jacob
In existing code, ctx-state of packet which received from ORDERED queue has been updated after sending the packet to ATOMIC queue. This creates a race between updating ctx-state from core x(ORDERED) and reading stale ctx-state from core y(ATOMIC) In order to avoid the race, core x(ORDERED)