Subject: Re: [PATCH RFC v2 03/12] esp6: Use the IPsec protocol multiplexer API

From: Sergei Shtylyov <[email-masked]>
Date: Wed, 05 Mar 2014 18:52:12 +0400

Hello.

On 05-03-2014 16:41, Steffen Klassert wrote:

> Switch esp6 to use the new IPsec protocol multiplexer.

> Signed-off-by: Steffen Klassert <[email-masked]>
> ---
>   net/ipv6/esp6.c |   24 ++++++++++++++++--------
>   1 file changed, 16 insertions(+), 8 deletions(-)

> diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c
> index 6eef8a7..ec6971f 100644
> --- a/net/ipv6/esp6.c
> +++ b/net/ipv6/esp6.c
> @@ -421,7 +421,7 @@ static u32 esp6_get_mtu(struct xfrm_state *x, int mtu)
>   		 net_adj) & ~(blksize - 1)) + net_adj - 2;
>   }
>
> -static void esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
> +static int esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
>   		     u8 type, u8 code, int offset, __be32 info)

    You should realign this line again to start under *struct*.

WBR, Sergei