Public bug reported:

[Impact]

iptables-netflow-dkms does not compile from source in Questing with
kernel 6.15:

ipt_NETFLOW.c: In function ‘ipt_netflow_init’:
ipt_NETFLOW.c:5785:9: error: implicit declaration of function ‘del_timer_sync’; 
did you mean ‘dev_mc_sync’? [-Wimplicit-function-declaration]
 5785 |         del_timer_sync(&rate_timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync

This is cause by upstream commit 8fa7292fee5c (treewide: Switch/rename
to timer_delete[_sync]())) which renamed the function del_timer_sync()
to timer_delete_sync(). This commit landed in v6.15-rc1.

[Fix]

Patch the code to properly support Linux 6.15.

[Test Plan]

Verify that Questing is running on 6.15 kernel:
$ uname -r
6.15.0-X-generic

Install iptables-netflow-dkms:
$ sudo apt install -y iptables-netflow-dkms

Verify the dkms has been installed properly:
$ dkms status

Load the module:
$ sudo modprobe ipt_NETFLOW
$ lsmod | grep ipt_NETFLOW

** Affects: iptables-netflow (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116328

Title:
  iptables-netflow-dkms FTBFS in Questing with 6.15 kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iptables-netflow/+bug/2116328/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to