iptables-netflow-dkms: linux 5.8 changes broke 5.4 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables-netflow (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
After applying the compatibility changes to support kernel 5.8 we broke kernel 5.4 in the process. The change that causes the breakage is the redefinition of `struct timeval`, that is not needed in 5.4, because it's already defined.
[Test case]
$ sudo apt install iptables-
Build error(s) is(are) reported in make.log.
[Fix]
Make sure `struct timeval` is defined in iptables-
[Regression potential]
Change verified both with 5.4 and 5.8 kernel. The only thing that could break is using this module with some kernels >= 5.8 that (somehow) have `struct timeval` already defined in their headers. For now, with the kernels that we support, this case is unlikely to happen.
tags: | added: patch |
Changed in iptables-netflow (Ubuntu): | |
status: | New → Invalid |
Changed in iptables-netflow (Ubuntu Focal): | |
status: | New → In Progress |
tags: | added: regression-update |
Attached debdiff tested both with kernel 5.4 and 5.8.