Public bug reported: [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-netflow-dkms Build error(s) is(are) reported in make.log. [Fix] Make sure `struct timeval` is defined in iptables-netflow-dkms only with kernels >= 5.8. [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. ** Affects: iptables-netflow (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904753 Title: iptables-netflow-dkms: linux 5.8 changes broke 5.4 kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iptables-netflow/+bug/1904753/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs