From: Jiri Slaby <jslaby@suse.cz>
Subject: kABI: reintroduce inet_hashtables.h include to l2tp_ip
Patch-mainline: never, kabi
References: kabi
In networking-stable-20_06_07, commit 02c71b144c81 (l2tp: do not use
inet_hash()/inet_unhash()) removed net/inet_hashtables.h include from
l2tp_ip.c. This made struct inet_hashinfo undefined for the kABI
checker.
Reintroduce the include so that the structure remains defined.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
net/l2tp/l2tp_ip.c | 1 +
1 file changed, 1 insertion(+)
--- a/net/l2tp/l2tp_ip.c
+++ b/net/l2tp/l2tp_ip.c
@@ -24,6 +24,7 @@
#include <net/icmp.h>
#include <net/udp.h>
#include <net/inet_common.h>
+#include <net/inet_hashtables.h>
#include <net/tcp_states.h>
#include <net/protocol.h>
#include <net/xfrm.h>