Open
Description
Currently native module registers as NMR client and returns success when its attach callback is called. It should ideally check the NMR provider ID before returning success or failure.
Proposal:
- eBPFAPI should populate the expected provider module ID in registry. It already populates the client module ID in registry today.
- Native module will read the expected provider module ID and attach to only that provider.
Note:
This change will not be a breaking change now but can become a breaking change in future. It will be great if we can take this fix in 0.17