summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-01-13 18:56:26 +0000
committermikeb <mikeb@openbsd.org>2016-01-13 18:56:26 +0000
commit180e0ac6ae1607bff56648ca5f5c56097dd93863 (patch)
treecdf34557a55067fe26553f80a69cff3780a27f3b /sys/net/if_mpe.c
parentConvert to uiomove(); from Martin Natano, thanks! (diff)
downloadwireguard-openbsd-180e0ac6ae1607bff56648ca5f5c56097dd93863.tar.xz
wireguard-openbsd-180e0ac6ae1607bff56648ca5f5c56097dd93863.zip
Create rx and tx fragment maps with a page size boundary restriction
We need to ensure that rx and tx fragments do not cross page boundary since grant table reference can only point to a complete page. Add a couple of kernel assertions in the dma map loading code to catch these problems early in the future.
Diffstat (limited to 'sys/net/if_mpe.c')
0 files changed, 0 insertions, 0 deletions