Hi everyone, I'd like to get the discussion started on the topic of bound checking in VPP: some of us recently discussed a patch that added explicit bound checking within VPP core dataplane infrastructure to prevent a crash when the function is misused from a plugin. The bug is clearly in the plugin which calls the VPP infra function, but it's a hard one to track and when it happens it crashes VPP and break networking for users.
I think we do not want to do bound checking in the core VPP dataplane infra for performance reasons, and hence callers should be correct or nasty things will happen. In case a workaround is really needed, it should be done in the caller and probably maintained as a private patch until the bug is properly fixed. What do people think? Best ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22259): https://lists.fd.io/g/vpp-dev/message/22259 Mute This Topic: https://lists.fd.io/mt/95358731/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-