smoltcp icon indicating copy to clipboard operation
smoltcp copied to clipboard

ndisc: do not Unrecognized packets with unknown options

Open Dirbaio opened this issue 3 years ago • 0 comments

ndisc is throwing Unrecognized when seeing unknown options, for example here

https://github.com/smoltcp-rs/smoltcp/blob/35e833e33dfd3e4efc3eb7d5de06bec17c54b011/src/wire/ndisc.rs#L239

but rfc4861 section 9 says

In order to ensure that future extensions properly coexist with current implementations, all nodes MUST silently ignore any options they do not recognize in received ND packets and continue processing the packet.

Dirbaio avatar Oct 07 '21 04:10 Dirbaio