Public bug reported: [ Impact ]
iptables-netflow-dkms does not compile from source in Noble with kernel 6.11: /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c: At top level: /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1807:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1807 | .proc_handler = &hsize_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1807:35: note: (near initialization for ‘netflow_sysctl_table[3].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1813:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1813 | .proc_handler = &sndbuf_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1813:35: note: (near initialization for ‘netflow_sysctl_table[4].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1820:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1820 | .proc_handler = &destination_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1820:35: note: (near initialization for ‘netflow_sysctl_table[5].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1842:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1842 | .proc_handler = &flush_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1842:35: note: (near initialization for ‘netflow_sysctl_table[7].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1848:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1848 | .proc_handler = &protocol_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1848:35: note: (near initialization for ‘netflow_sysctl_table[8].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1870:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1870 | .proc_handler = &promisc_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1870:35: note: (near initialization for ‘netflow_sysctl_table[11].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1879:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1879 | .proc_handler = &sampler_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1879:35: note: (near initialization for ‘netflow_sysctl_table[12].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1897:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1897 | .proc_handler = &snmp_procctl, | ^ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1897:35: note: (near initialization for ‘netflow_sysctl_table[14].proc_handler’) /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:1905:35: error: initialization of ‘int (*)(const struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(const struct ctl_table *, int, void *, long unsigned int *, long long int *)’} from incompatible pointer type ‘int (*)(struct ctl_table *, int, void *, size_t *, loff_t *)’ {aka ‘int (*)(struct ctl_table *, int, void *, long unsigned int *, long long int *)’} [-Werror=incompatible-pointer-types] 1905 | .proc_handler = &natevents_procctl, | ^ [ Test case ] Install the latest linux-6.11 kernel on Noble: $ sudo add-apt-repository ppa:canonical-kernel-team/ppa $ sudo apt update $ sudo apt install linux-image-6.11.0-12-generic \ linux-modules-6.11.0-12-generic \ linux-modules-extra-6.11.0-12-generic \ linux-headers-6.11.0-12-generic Install iptables-netflow-dkms: $ sudo apt install iptables-netflow-dkms Load the module: $ sudo modprobe ipt_NETFLOW [ Fix ] Patch the code to properly support the new linux 6.11 ABI. [ Regression potential] We may experience networking-related regressions in systems that are using the iptables-netflow-dkms module and that are using a kernel >= 6.11. ** Affects: iptables-netflow (Ubuntu) Importance: Undecided Assignee: Massimiliano Pellizzer (mpellizzer) Status: In Progress ** Affects: iptables-netflow (Ubuntu Noble) Importance: Undecided Status: In Progress ** Also affects: iptables-netflow (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: iptables-netflow (Ubuntu Noble) Status: New => 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/2091425 Title: iptables-netflow-dkms FTBS in Noble with linux-6.11-hwe kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iptables-netflow/+bug/2091425/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs