This is a note to let you know that I've just added the patch titled bpf: netdev: init the offload table earlier to the 6.3-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: bpf-netdev-init-the-offload-table-earlier.patch and it can be found in the queue-6.3 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 55b6db3767214a76dad9dca2976abc810e5bfce7 Author: Jakub Kicinski <kuba@xxxxxxxxxx> Date: Fri May 5 14:58:36 2023 -0700 bpf: netdev: init the offload table earlier [ Upstream commit e1505c1cc8d527fcc5bcaf9c1ad82eed817e3e10 ] Some netdevices may get unregistered before late_initcall(), we have to move the hashtable init earlier. Fixes: f1fc43d03946 ("bpf: Move offload initialization into late_initcall") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217399 Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> Acked-by: Stanislav Fomichev <sdf@xxxxxxxxxx> Link: https://lore.kernel.org/r/20230505215836.491485-1-kuba@xxxxxxxxxx Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/kernel/bpf/offload.c b/kernel/bpf/offload.c index 0c85e06f7ea7f..ee146430d9984 100644 --- a/kernel/bpf/offload.c +++ b/kernel/bpf/offload.c @@ -853,4 +853,4 @@ static int __init bpf_offload_init(void) return rhashtable_init(&offdevs, &offdevs_params); } -late_initcall(bpf_offload_init); +core_initcall(bpf_offload_init);