AQtion
AQtion copied to clipboard
make 6.2.0 compilable
Default ubuntu 23.04 release's kernel 6.2.0-20-generic misses a lot of the symbol, the dmesg shows below.
[ 1.446775] atlantic: no symbol version for module_layout
[ 1.446835] atlantic: module verification failed: signature and/or required key missing - tainting kernel
[ 1.446842] atlantic: disagrees about version of symbol __tracepoint_xdp_exception
[ 1.446843] atlantic: Unknown symbol __tracepoint_xdp_exception (err -22)
[ 1.446862] atlantic: Unknown symbol kmem_cache_alloc_trace (err -2)
[ 1.446868] atlantic: Unknown symbol kmalloc_order_trace (err -2)
[ 1.446882] atlantic: Unknown symbol del_timer_sync (err -2)
[ 1.446886] atlantic: Unknown symbol macsec_pn_wrapped (err -2)
[ 1.446889] atlantic: Unknown symbol cpu_number (err -2)
[ 1.446890] atlantic: Unknown symbol __preempt_count (err -2)
I remove the symbol and add conditional compilation for macsec_context *ctx->prepare not exists in 6.2.0 and different function signature for macsec_pn_wrapped and aq_dash_pre_doit.