Subject: Re: [PATCHv4 net-next 3/6] {IPv4,xfrm} Add ESN support for AH ingress part

From: Steffen Klassert <[email-masked]>
Date: Thu, 16 Jan 2014 10:56:47 +0100

On Wed, Jan 15, 2014 at 03:13:12PM +0800, Fan Du wrote:
>  
> -	ahash_request_set_crypt(req, sg, icv, skb->len);
> +	if (x->props.flags & XFRM_STATE_ESN) {
> +		/* Attach seqhi sg right after packet payload */
> +		*seqhi = htonl(XFRM_SKB_CB(skb)->seq.input.hi);

XFRM_SKB_CB(skb)->seq.input.hi is already in network byte order,
please remove the htonl(). The ipv6 patch has the same problem.