debuggers.hg
view .hg-to-bk @ 22823:1e7594758b28
VT-d/ATS: misc fixes
First of all there were three places potentially de-referencing NULL
(two after an allocation failure, and one after a failed lookup).
Second, if ATS_ENABLE was already set, the device would not have got
added to the ats_devices list, potentially resulting in
dev_invalidate_iotlb() doing an incomplete job.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
First of all there were three places potentially de-referencing NULL
(two after an allocation failure, and one after a failed lookup).
Second, if ATS_ENABLE was already set, the device would not have got
added to the ats_devices list, potentially resulting in
dev_invalidate_iotlb() doing an incomplete job.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author | Jan Beulich <jbeulich@novell.com> |
---|---|
date | Tue Jan 18 12:28:10 2011 +0000 (2011-01-18) |
parents | f3123052268f |
children | c6c0f98bf7d3 ba107a7380bc |