Open kertor opened 3 years ago
Looks like Ubuntu is using a patched kernel which fails the version test. In this package they have
VERSION = 5
PATCHLEVEL = 8
SUBLEVEL = 18
with the function prototype being int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type);
which is different from the mainline kernel with the same version: https://elixir.bootlin.com/linux/v5.8.18/source/include/linux/netfilter_ipv4.h
You can work around this yourself by adapting the version test macro here https://github.com/sipwise/rtpengine/blob/master/kernel-module/xt_RTPENGINE.c#L3435 and here https://github.com/sipwise/rtpengine/blob/master/kernel-module/xt_RTPENGINE.c#L3535 but I don't see a way to incorporate this into the code without breaking non-Ubuntu kernels since there doesn't seem to be a way to distinguish their patched kernel from mainline.
Thank you for detailed answer.
I was having the same issue on Ubuntu 20.04.2 LTS and just did apt-get upgrade
and it updated the module and everything is working now.
I didn't mark down the versions but I'll edit when I run this again on another box.
Hello! Have problem with rtpengine install on 20.04.1-Ubuntu (core 5.8.0-45-generic):
On 20.04.1-Ubuntu (core 5.8.0-33-generic) install is working well:
dkms install:
Report ngcp-rtpengine-kernel-dkms.0.crash.txt attached. ngcp-rtpengine-kernel-dkms.0.crash.txt
Could you please check this? Thank you!