Re: A potential race in drivers/staging/speakup/speakup.ko

From: Samuel Thibault
Date: Mon Sep 05 2016 - 06:38:10 EST


Pavel Andrianov, on Mon 05 Sep 2016 13:33:33 +0300, wrote:
> synth_direct_store may be called via device_attributes interface.

Ah, right.

> In which function the lock should be added?

That'd be synth_direct_store then, around the while loop.

Samuel