Public bug reported: [Impact] Groovy linux 5.8.0-44.50 backported from upstream stable the following commit, which broke the build of xtables-addons dkms modules on Groovy and Focal 5.8 kernels based on this release:
"netfilter: use actual socket sk rather than skb sk when routing harder" (Upstream commit 46d6c5ae953cc0be38efd0e469284df7c4328cf8). On Focal, xtables-addons was already changed to accommodate this change to the 5.4 kernels (bug 1907109), however the signature detection mechanism used for the 5.4 kernels doesn't work with the 5.8 kernels so a more robust mechanism will be needed. [Test case] Install xtables-addons-dkms package. [Fix] The proposed fix is to add a script (configure_features.sh) which will be executed before the dkms modules are build to detect which function signature is provided by the kernel being built for. This script will save a header file with some #define's which will be used by the compatibility headers to choose the correct function signature. This is a mechanism similar to what is already used by some other dkms packages. [Where problems could occur] If the function signature detection is not done correctly, the dkms packages could fail building again. ** Affects: xtables-addons (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: xtables-addons (Ubuntu Focal) Importance: High Assignee: Kleber Sacilotto de Souza (kleber-souza) Status: In Progress ** Affects: xtables-addons (Ubuntu Groovy) Importance: High Assignee: Kleber Sacilotto de Souza (kleber-souza) Status: In Progress ** Also affects: xtables-addons (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: xtables-addons (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: xtables-addons (Ubuntu) Status: New => Fix Released ** Changed in: xtables-addons (Ubuntu Focal) Status: New => In Progress ** Changed in: xtables-addons (Ubuntu Groovy) Status: New => In Progress ** Changed in: xtables-addons (Ubuntu Focal) Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza) ** Changed in: xtables-addons (Ubuntu Groovy) Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza) ** Changed in: xtables-addons (Ubuntu Focal) Importance: Undecided => High ** Changed in: xtables-addons (Ubuntu Groovy) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915177 Title: xtables-addons fails to build after ip_route_me_harder() signature change To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xtables-addons/+bug/1915177/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs