Subject: Re: [IPSEC] Store idev entries

From: Patrick McHardy <[email-masked]>
Date: Wed, 04 May 2005 03:06:45 +0200

David S. Miller wrote:
> On Sat, 30 Apr 2005 21:43:49 +1000
> Herbert Xu <[email-masked]> wrote:
> 
>>The ref counting on loopback_idev wasn't quite right.  Here is the
>>corrected version.
> 
> 
> Applied, thanks Herbert.

The patch causes a compile error here:

  CC      net/ipv6/xfrm6_policy.o
In file included from net/ipv6/xfrm6_policy.c:18:
include/net/addrconf.h:40: error: field `prefix' has incomplete type

This patch fixes it.

Signed-off-by: Patrick McHardy <[email-masked]>
Index: net/ipv6/xfrm6_policy.c
===================================================================
--- 591ce19741741438606ab75a45ac9f973cbb4787/net/ipv6/xfrm6_policy.c  (mode:100644 sha1:4429b1a1fe5fe2528318b7417e539279548d9988)
+++ uncommitted/net/ipv6/xfrm6_policy.c  (mode:100644)
@@ -15,6 +15,7 @@
 #include <linux/compiler.h>
 #include <linux/config.h>
 #include <linux/netdevice.h>
+#include <linux/in6.h>
 #include <net/addrconf.h>
 #include <net/xfrm.h>
 #include <net/ip.h>