ebpf-for-windows/ebpfcore
Dave Thaler b01dea6d55
Fix reply id/length on failure in KM (#950)
* Fix reply id/length on failure in KM

And make UM and KM more closely follow the same logic to catch this sort
of bug in the future.  Before this, UM would succeed and KM would fail,
and there were only UM tests for this case.

Fixes #946

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix device_helper.hpp

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix reply length

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Cleanup

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* PR feedback

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-04-18 10:26:29 -06:00
..
EbpfCore.inf Update directory structure (#134) 2021-05-05 14:10:28 -06:00
EbpfCore.vcxproj Centralize compiler options (#823) 2022-03-29 10:41:09 -06:00
EbpfCore.vcxproj.filters Add version info to ebpfcore.sys, ebpfapi.dll, netebpfext.sys, and ebpfsvc.exe (#478) 2021-09-01 17:57:35 -06:00
ebpf_drv.c Fix reply id/length on failure in KM (#950) 2022-04-18 10:26:29 -06:00
resource.h Add version info to ebpfcore.sys, ebpfapi.dll, netebpfext.sys, and ebpfsvc.exe (#478) 2021-09-01 17:57:35 -06:00