Page MenuHomeFreeBSD

D7962.id.diff
No OneTemporary

D7962.id.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
Wed, Apr 29, 8:46 AM (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32335413
Default Alt Text
D7962.id.diff (524 B)

Event Timeline