Subject: Re: [PATCH 16/19] ipv6: Store route neighbour in rt6_info struct.

From: Steffen Klassert <[email-masked]>
Date: Thu, 5 Jul 2012 15:14:13 +0200

On Tue, Jul 03, 2012 at 02:47:00AM -0700, David Miller wrote:
> 
> This makes for a simplified conversion away from dst_get_neighbour*().
> 
> All code outside of ipv6 will use neigh lookups via dst_neigh_lookup*().
> 
> Signed-off-by: David S. Miller <[email-masked]>
> ---
>  include/net/ip6_fib.h   |    2 ++
>  net/ipv6/ip6_output.c   |    8 ++++++--
>  net/ipv6/route.c        |   42 ++++++++++++++++++++++++++----------------
>  net/ipv6/xfrm6_policy.c |    1 +
>  4 files changed, 35 insertions(+), 18 deletions(-)
> 
> diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
> index a192f78..0fedbd8 100644
> --- a/include/net/ip6_fib.h
> +++ b/include/net/ip6_fib.h
> @@ -86,6 +86,8 @@ struct fib6_table;
>  struct rt6_info {
>  	struct dst_entry		dst;
>  
> +	struct neighbour		*n;
> +

This pointer needs to be initialized when we allocate the
rt6_info, otherwise all my testboxes crash during noot.

I'll send a patch to do this.