aboutsummaryrefslogtreecommitdiffstats
path: root/prebuilt-binaries-license.txt
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-12-15 21:10:39 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-12-15 21:13:06 +0100
commitb2374dadb6cbd8c9c745041f5c3665cf4d270dff (patch)
tree8aa48e02c0d7bc9d5335628b64e644f6bf180a97 /prebuilt-binaries-license.txt
parentdriver: use partial MDL for slicing ring, rather than NB's DataOffset (diff)
downloadwintun-b2374dadb6cbd8c9c745041f5c3665cf4d270dff.tar.xz
wintun-b2374dadb6cbd8c9c745041f5c3665cf4d270dff.zip
driver: use IoAllocateMdl without being too clever
Windows 7 doesn't like our trick of sticking MDLs into the NBL context area. So we do things more traditionally, by allocating an MDL with IoAllocateMdl and freeing it with IoFreeMdl. This means that we have to keep track of the MDL between allocation and free time, and we don't have any more miniport reserved pointers left in the NBL. So instead we walk the MdlChain field of the first NB, and free the one that has an address living inside of the non-partial MDL. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'prebuilt-binaries-license.txt')
0 files changed, 0 insertions, 0 deletions