Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.