Home
last modified time | relevance | path

Searched hist:ce068bc7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/mei/
H A Dclient.cce068bc7 Thu Mar 18 00:59:59 CDT 2021 Tomas Winkler <tomas.winkler@intel.com> mei: allow map and unmap of client dma buffer only for disconnected client

Allow map and unmap of the client dma buffer only when the client is not
connected. The functions return -EPROTO if the client is already connected.
This is to fix the race when traffic may start or stop when buffer
is not available.

Cc: <stable@vger.kernel.org> #v5.11+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20210318055959.305627-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>