Subject: Re: [PATCH net-next 4/6] ipv6: Pass struct net through ip6_fragment

From: Nicolas Dichtel <[email-masked]>
Date: Thu, 1 Oct 2015 10:31:43 +0200

Le 30/09/2015 23:25, Eric W. Biederman a écrit :
> Signed-off-by: Eric W. Biederman <[email-masked]>
> ---
[snip]
> diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c
> index 0c3e9ffcf231..335066a64b45 100644
> --- a/net/ipv6/xfrm6_output.c
> +++ b/net/ipv6/xfrm6_output.c
> @@ -131,6 +131,12 @@ int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb)
>   	return xfrm_output(sk, skb);
>   }
>
> +static int __xfrm6_output_finish(struct net *net, struct sock *sk, struct sk_buff *skb)
> +{
> +	struct xfrm_state *x = skb_dst(skb)->xfrm;
nit: add an empty line after variables declaration.

> +	return x->outer_mode->afinfo->output_finish(sk, skb);
> +}
> +
[snip]