Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157431466
D41395.id125769.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
436 B
Referenced Files
None
Subscribers
None
D41395.id125769.diff
View Options
Index: sys/x86/x86/msi.c
===================================================================
--- sys/x86/x86/msi.c
+++ sys/x86/x86/msi.c
@@ -630,6 +630,10 @@
mtx_unlock(&msi_lock);
error = EOPNOTSUPP;
#endif
+ if (error == EOPNOTSUPP && msi->msi_cpu > 0xff) {
+ printf("%s: invalid msi_cpu %u\n", __func__, msi->msi_cpu);
+ error = EINVAL;
+ }
if (error == EOPNOTSUPP) {
*addr = INTEL_ADDR(msi);
*data = INTEL_DATA(msi);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 22, 9:37 AM (9 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33418096
Default Alt Text
D41395.id125769.diff (436 B)
Attached To
Mode
D41395: msi: report error for attempt to use CPU > 255
Attached
Detach File
Event Timeline
Log In to Comment