xt_NAT icon indicating copy to clipboard operation
xt_NAT copied to clipboard

Updating for Linux kernel 5.0.0

Open Stanback opened this issue 6 years ago • 1 comments

I tried using with kernel 5.0.0 and noticed that do_gettimeofday and setup_timer are no longer available. I'm still in the process of testing but this seems to be working so far.

Stanback avatar Sep 20 '19 21:09 Stanback

I was also getting a warning about atomic64_read returning a long long int, and the printf statement using a long int. This resolves the warning by changing the format strings to %lld and adding a cast to u64 (so that it works the same way across different architectures).

Stanback avatar Sep 21 '19 03:09 Stanback