fix(l1tf): RDCL_NO bit didn't take precedence for vulnerability check on some Intel CPUs

This commit is contained in:
Stéphane Lesimple 2019-05-23 14:23:11 +02:00
parent 62b46df4e7
commit 497efe6a82

View File

@ -402,7 +402,7 @@ is_cpu_vulnerable()
[ -z "$variantl1tf" ] && variantl1tf=immune
else
_debug "is_cpu_vulnerable: intel family 6 is vuln"
variantl1tf=vuln
[ -z "$variantl1tf" ] && variantl1tf=vuln
fi
elif [ "$cpu_family" -lt 6 ]; then
_debug "is_cpu_vulnerable: intel family < 6 is immune"