Currently if the program does not shut down smoothly, it can trigger the assert assert((is_first) == (*offset == 0)); to fail. This should be fixed by:
Ignore fragments that cannot be registered in the correct place. This has the downside of not necessarily noticing bad packets that may occur in the middle of execution, which should be more seriously considered.
Upon startup, read all packets into a junk buffer, as is currently done in the kernel exchange. This will cause the startup messages to be missed also, however.
Currently if the program does not shut down smoothly, it can trigger the assert
assert((is_first) == (*offset == 0));
to fail. This should be fixed by:Ignore fragments that cannot be registered in the correct place. This has the downside of not necessarily noticing bad packets that may occur in the middle of execution, which should be more seriously considered.
Upon startup, read all packets into a junk buffer, as is currently done in the kernel exchange. This will cause the startup messages to be missed also, however.