commit | bfeca3e5716a16b95a1fb7104e477ca3bd5ed59e | [log] [tgz] |
---|---|---|
author | Jike Song <jike.song@intel.com> | Fri Dec 16 10:51:04 2016 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Mon Dec 26 09:45:29 2016 +0800 |
tree | 154723a3220195b1484c5eb186b50e9637d1a270 | |
parent | d650ac06023796ade7cb5ec4d5650c67dc494ed0 [diff] |
drm/i915/gvt/kvmgt: dereference the pointer within lock Though there is no issue exposed yet, it's possible that another thread releases the entry while our trying to deref it out of the lock. Fit it by moving the dereference within lock. Signed-off-by: Jike Song <jike.song@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>