Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix compile of 3.6.0-rc3 against kernel 4.20.x #271
A pair of logging functions in src/mod/nat64/bib/db.c were using 'time_to_tm()' which was removed in 4.20.0.
This patch updates those calls to 'time64_to_tm()', and also updates the related calls to the deprecated 'do_gettimeofday()' to use 'ktime_get_real_seconds()' instead.