Page MenuHomeFreeBSD

D7962.diff
No OneTemporary

D7962.diff

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

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)

Event Timeline