Re: [PATCH] Performance Improvement in CRC16 Calculations.
From: Martin K. Petersen
Date: Sat Aug 25 2018 - 22:37:20 EST
Herbert,
> I don't think this is safe unless you do some kind of locking
> which would slow down the data path. The easiest fix would be
> to keep the old tfm around forever, or use RCU if RCU read locking
> is acceptable to your use-case.
You're right. There's a small race there.
Patch series coming...
--
Martin K. Petersen Oracle Linux Engineering