Re: [PATCH net-next] net/tls: Fixed race condition in async encryption

2018-09-24 Thread David Miller
From: Vakul Garg Date: Mon, 24 Sep 2018 15:35:56 +0530 > On processors with multi-engine crypto accelerators, it is possible that > multiple records get encrypted in parallel and their encryption > completion is notified to different cpus in multicore processor. This > leads to the situation

[PATCH net-next] net/tls: Fixed race condition in async encryption

2018-09-24 Thread Vakul Garg
On processors with multi-engine crypto accelerators, it is possible that multiple records get encrypted in parallel and their encryption completion is notified to different cpus in multicore processor. This leads to the situation where tls_encrypt_done() starts executing in parallel on different