From b9e48185f97f36c0c8f363fa5bc3378cc4663a94 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 25 Sep 2017 22:49:55 +0100 Subject: [PATCH] ip6_fib: Avoid ABI change in 4.9.51 Commit c5cff8561d2d "ipv6: add rcu grace period before freeing fib6_node" added an rcu_head field to the end of struct fib6_node. As this structure is always allocated and freed inside of the ipv6 module (or built-in code), we can safely hide it from genksyms. Gbp-Pq: Topic debian Gbp-Pq: Name ip6_fib-avoid-abi-change-in-4.9.51.patch --- include/net/ip6_fib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index a6bcb18ac4c3..32c78e2e59fa 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -68,7 +68,9 @@ struct fib6_node { __u16 fn_flags; int fn_sernum; struct rt6_info *rr_ptr; +#ifndef __GENKSYMS__ struct rcu_head rcu; +#endif }; #ifndef CONFIG_IPV6_SUBTREES -- 2.30.2