aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-09-13 23:42:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-09-13 23:45:49 +0200
commit9e1afd5e098aab3e99fae87cc8b80fcabd86bb24 (patch)
treeb7df0485579501895635223c657f2aabb8c11b4b
parentREADME: mention Windows 11 (diff)
downloadwireguard-nt-9e1afd5e098aab3e99fae87cc8b80fcabd86bb24.tar.xz
wireguard-nt-9e1afd5e098aab3e99fae87cc8b80fcabd86bb24.zip
TODO: document TDI bugs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--TODO.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index 7c2ed44..0b5c515 100644
--- a/TODO.md
+++ b/TODO.md
@@ -28,6 +28,10 @@ mode -- the routing logic ignores `IP_PKTINFO`. This seems like a bug, but one
unlikely to be fixed. We'll need a opt-in `setsockopt` to make `IP_PKTINFO`
choose the right behavior in this case.
+### TDI drivers never do the right thing with `IP_PKTINFO`
+Windows only looks at Options/OptionsLength if UserBuffer==(PVOID)0x886103.
+This is crazy, so nobody actually does it.
+
## Bug workarounds
### Remove `_NO_CRT_STDIO_INLINE` once WDK is fixed