You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly netlink doesn't have a stable wireformat - its host representation specific. E.g. a __u32 in the linux headers is neither u32be or u32le - its dependent on the architecture of the kernel. The current definitions in pnetlink are e.g. u32le which will fail on architectures with different byte orderings (such as various ARM and MIPS machines - common these days in IoT)
The text was updated successfully, but these errors were encountered:
I think we need to make it hard to add modules in a buggy fashion - the cfg should apply throughout all of pnetlink, and use of u32le etc in pnetlink struct definitions should trigger compiler errors.
Sadly netlink doesn't have a stable wireformat - its host representation specific. E.g. a __u32 in the linux headers is neither u32be or u32le - its dependent on the architecture of the kernel. The current definitions in pnetlink are e.g. u32le which will fail on architectures with different byte orderings (such as various ARM and MIPS machines - common these days in IoT)
The text was updated successfully, but these errors were encountered: