smoltcp icon indicating copy to clipboard operation
smoltcp copied to clipboard

Change mutability of `RxToken`'s `consume` argument.

Open lmbollen opened this issue 10 months ago • 1 comments

This pull request drops the requirement that we can mutate the receive buffer.

I noticed issue #443 already discussed this, but was closed without making the change. Even though the suggestion was to change it.

lmbollen avatar Apr 23 '24 13:04 lmbollen

Had to add:

extern crate alloc;
use alloc::vec::Vec;

to fuzz_injector, which should not be a problem since it's for development and not production. @whitequark Feel free to merge or ping me if you still agree with the changes.

lmbollen avatar Apr 24 '24 06:04 lmbollen

@whitequark I think we're ready to merge :) But I have no rights.

lmbollen avatar Aug 09 '24 08:08 lmbollen