xtables-addons 3.0-0.1ubuntu4/3.8-2ubuntu0.1 fails to build with linux 5.4.0-57.63
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xtables-addons (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Kleber Sacilotto de Souza | ||
Focal |
Fix Released
|
High
|
Kleber Sacilotto de Souza |
Bug Description
[Impact]
Focal linux 5.4.0-57.63 backported from v5.4.78 upstream stable release the following commit, which broke the build of xtables-addons dkms modules on Focal and Bionic for all 5.4 kernels based on this release:
"netfilter: use actual socket sk rather than skb sk when routing harder" (Upstream commit 46d6c5ae953cc0b
For Groovy, linux-5.8.y is not maintained upstream anymore. Our Groovy kernel will receive upstream stabled patches from 5.4.y and 5.9.y, which will get this commit applied likely for the next SRU cycle.
[Test case]
Install xtables-addons-dkms package.
[Fix]
The proposed fix is a backport of a fix applied to xtables-addons 3.9-1ubuntu1 on the development release (hirsute). This patch fixes the API change for the 5.10.0 kernel, the proposed fix extends the check for all 5.4.y kernels after 5.4.78.
[Where problems could occur]
If the backport was not done correctly, the dkms packages could fail building again.
-----
Testing failed on:
amd64: https:/
arm64: https:/
armhf: https:/
ppc64el: https:/
s390x: https:/
Build of the dkms is failing with the following error:
/var/lib/
/var/lib/
125 | if (ip_route_
| ^~~~
| |
| struct sk_buff *
In file included from ./include/
./include/
description: | updated |
Changed in xtables-addons (Ubuntu Bionic): | |
status: | New → Confirmed |
summary: |
- xtables-addons 3.8-2ubuntu0.1 fails to build with linux 5.4.0-57.63 + xtables-addons 3.0-0.1ubuntu4/3.8-2ubuntu0.1 fails to build with linux + 5.4.0-57.63 |
Changed in xtables-addons (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in xtables-addons (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in xtables-addons (Ubuntu Bionic): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
Changed in xtables-addons (Ubuntu Focal): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |
description: | updated |
Changed in xtables-addons (Ubuntu): | |
status: | New → Invalid |
status: | Invalid → Fix Released |
description: | updated |
Changed in xtables-addons (Ubuntu Groovy): | |
status: | New → Confirmed |
description: | updated |
Changed in xtables-addons (Ubuntu Groovy): | |
status: | Confirmed → Invalid |
no longer affects: | xtables-addons (Ubuntu Groovy) |
The attached debdiff contains the proposed fix for xtables-addons in Focal.
A build can be found on the following PPA: /launchpad. net/~kleber- souza/+ archive/ ubuntu/ ppa/+sourcepub/ 11809351/ +listing- archive- extra
https:/
The source package can be found at: /kernel. ubuntu. com/~ksouza/ lp1907109/ focal/
https:/