linux-raw-sys
linux-raw-sys copied to clipboard
Backporting struct field additions
Hi,
in kernel version 6.8, a field was added to the xdp_umem_reg struct in include/uapi/linux/if_xdp.h (link). To back-port this change to the 0.4 branch, I would normally copy the struct definition to the /gen/modules/xdp.h file, but this leads to an expected redefinition error: generate bindings for xdp: ClangDiagnostic("modules/xdp.h:69:8: error: redefinition of 'xdp_umem_reg'\n").
Can this still be back-ported and if so, how should I do this?