ebpf-for-windows/libs
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
..
api Fix ZwUnloadDriver failure issue (#965) 2022-04-16 11:39:03 -07:00
api_common Fix reply id/length on failure in KM (#950) 2022-04-18 10:26:29 -06:00
ebpfnetsh EC and API changes to load generated BPF driver (#811) 2022-04-01 12:52:04 -07:00
execution_context Fix reply id/length on failure in KM (#950) 2022-04-18 10:26:29 -06:00
platform Fix ZwUnloadDriver failure issue (#965) 2022-04-16 11:39:03 -07:00
service EC and API changes to load generated BPF driver (#811) 2022-04-01 12:52:04 -07:00
thunk Fix ZwUnloadDriver failure issue (#965) 2022-04-16 11:39:03 -07:00
ubpf Integrate changes from upstream ubpf (#936) 2022-04-11 22:08:29 -06:00