diff options
author | grehan <grehan@FreeBSD.org> | 2013-11-26 03:00:54 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2013-11-26 03:00:54 +0000 |
commit | fbf25c0508965f67dc1302f75b1c5022c1217d91 (patch) | |
tree | c9d6a2e9f6061b806d9d2eaa7424eea4a6ee2c49 /usr.sbin/rpc.statd/statd.h | |
parent | 52a5b970b701b4c9abe6e2062e8d7ba3cfca4e76 (diff) | |
download | FreeBSD-src-fbf25c0508965f67dc1302f75b1c5022c1217d91.zip FreeBSD-src-fbf25c0508965f67dc1302f75b1c5022c1217d91.tar.gz |
The Data Byte Count (DBC) field of a Physical Region Descriptor
Table is 22 bits, with the bit 31 being the interrupt-on-completion
bit.
OpenBSD and UEFI set this bit, resulting in large block i/o lengths
being sent to bhyve and coredumping the process. Fix by masking off
the relevant 22 bits when using the DBC field as a length.
Reviewed by: Zhixiang Yu
Discussed with: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)
MFC after: 10.0
Diffstat (limited to 'usr.sbin/rpc.statd/statd.h')
0 files changed, 0 insertions, 0 deletions