wintun/driver
Jason A. Donenfeld b2374dadb6 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>
2020-12-15 21:13:06 +01:00
..
driver.vcxproj driver: use localtime in inf2cat 2020-12-02 15:03:48 +01:00
driver.vcxproj.filters driver: move to subfolder 2020-11-06 07:29:47 +01:00
undocumented.h driver: move to subfolder 2020-11-06 07:29:47 +01:00
wintun.c driver: use IoAllocateMdl without being too clever 2020-12-15 21:13:06 +01:00
wintun.inf driver: move to subfolder 2020-11-06 07:29:47 +01:00
wintun.rc driver: move to subfolder 2020-11-06 07:29:47 +01:00