From 23eab73fb396ee662f55e362d3a14db9502e7257 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 6 Mar 2016 01:14:29 +0000 Subject: [PATCH] ipv4: Fix ABI change in 4.4.4 struct fib_nh_exception is always allocated and used in the ipv4 core, which is built-in. As the new field is at the end of the structure, all we need to do is hide it from genksyms. Gbp-Pq: Topic debian Gbp-Pq: Name ipv4-fix-abi-change-in-4.4.4.patch --- include/net/ip_fib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 3f98233388fb..3b281796ba10 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -61,7 +61,9 @@ struct fib_nh_exception { struct rtable __rcu *fnhe_rth_input; struct rtable __rcu *fnhe_rth_output; unsigned long fnhe_stamp; +#ifndef __GENKSYMS__ struct rcu_head rcu; +#endif }; struct fnhe_hash_bucket { -- 2.30.2