]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vhost-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 13 Dec 2018 05:56:20 +0000 (21:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Dec 2018 05:56:20 +0000 (21:56 -0800)
commit6e923ec5c8cf00716a76e5ea467feb417611878e
tree8a74a22f5a49637ccb667d0350fd6566871026cc
parent8a201dd33fa0e0a1d14ade77100411480ec9b6d2
parent7b813f30a6dd485d872d606307e65dbb99d41737
Merge branch 'vhost-fixes'

Jason Wang says:

====================
Fix various issue of vhost

This series tries to fix various issues of vhost:

- Patch 1 adds a missing write barrier between used idx updating and
  logging.
- Patch 2-3 brings back the protection of device IOTLB through vq
  mutex, this fixes possible use after free in device IOTLB entries.

Please consider them for -stable.

Changes from V2:
- drop dirty page fix and make it for net-next
Changes from V1:
- silent compiler warning for 32bit.
- use mutex_trylock() on slowpath instead of mutex_lock() even on fast
  path.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>