aboutsummaryrefslogtreecommitdiffstats
path: root/driver (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* driver: socket: flip mask around on route lookupJason A. Donenfeld2021-08-031-2/+2
| | | | | | | Very silly error that caused non-default routes to be ignored. Reported-by: Peter Whisker <peter.whisker@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: receive: don't use ParentNetBuffer when passing off NBLs to NDISJason A. Donenfeld2021-08-032-3/+2
| | | | | | | | | Otherwise WFP attempts to correlate flows and winds up dereferencing garbage in ParentNetBuffer->NetBufferListInfo[WfpNetBufferListInfo]. Reported-by: Sam Sun <sam@samczsun.com> Reported-by: Jauder Ho <jauderho@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: do rx and tx on same threads as encryption and decryptionJason A. Donenfeld2021-08-025-40/+24
| | | | | | | This seems surprising to me, but the Windows scheduler doesn't behave as expected, and this is actually faster. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce WireGuardNTJason A. Donenfeld2021-08-0247-0/+25238
Co-authored-by: Simon Rozman <simon@rozman.si> Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>