[ovs-dev] Openvswitch patch doubts:conntrack: Fix missed 'conn' lookup checks.

Ben Pfaff blp at ovn.org
Tue Jun 29 16:07:16 UTC 2021


On Mon, Jun 28, 2021 at 11:45:11AM +0800, user wrote:
> I think this situation may not happen, because if there are two pkts
> are going to create the same conntrack, their headers will be roughly
> the same, the rss of the hardware will assign the packets to the same
> cpu, so there is no chance for two threads to try to insert the same
> conntrack at the same time, so I am confused about the reason for
> doing this and what are the missing cases.

We can't rely on RSS for mutual exclusion.


More information about the dev mailing list