]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Stop lying about the lock state when calling into XENBUS_CACHE
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 31 May 2019 09:53:45 +0000 (10:53 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 31 May 2019 09:53:45 +0000 (10:53 +0100)
commitd930d390ce74b89ab2e6bc9063ee5d662a20e269
tree7ce251d4a00e81f760e1e2ef4478421689737a36
parent97a3554eb87d81ab69a3025080a0125131c972f7
Stop lying about the lock state when calling into XENBUS_CACHE

Various cache access that used to be under protection of the reciver ring
lock are no longer subject to that lock, and thus the 'Locked' parameter
passed to the Get/Put methods needs to be FALSE rather than TRUE.

This bug was not spotted under recent changes applied to the implementation
of XENBUS_CACHE, which removed use of atomic bit operations.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/receiver.c