Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101330072
D7962.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
524 B
Referenced Files
None
Subscribers
None
D7962.diff
View Options
Index: head/sys/dev/hyperv/vmbus/vmbus_chan.c
===================================================================
--- head/sys/dev/hyperv/vmbus/vmbus_chan.c
+++ head/sys/dev/hyperv/vmbus/vmbus_chan.c
@@ -250,6 +250,8 @@
("send bufring size is not multiple page"));
KASSERT((rxbr_size & PAGE_MASK) == 0,
("recv bufring size is not multiple page"));
+ KASSERT((cbr->cbr_paddr & PAGE_MASK) == 0,
+ ("bufring is not page aligned"));
/*
* Zero out the TX/RX bufrings, in case that they were used before.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 28, 10:26 PM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14371362
Default Alt Text
D7962.diff (524 B)
Attached To
Mode
D7962: hyperv/vmbus: Assert that the bufring address is page aligned.
Attached
Detach File
Event Timeline
Log In to Comment