X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Fah4.c;h=aed537fa2c88507440c68daf87076c6a56332cb6;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=e2e4771fa4c6d42b8b7e19cdac07abd022e65b53;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/net/ipv4/ah4.c b/net/ipv4/ah4.c index e2e4771fa..aed537fa2 100644 --- a/net/ipv4/ah4.c +++ b/net/ipv4/ah4.c @@ -97,7 +97,6 @@ static int ah_output(struct xfrm_state *x, struct sk_buff *skb) ah->reserved = 0; ah->spi = x->id.spi; ah->seq_no = htonl(++x->replay.oseq); - xfrm_aevent_doreplay(x); ahp->icv(ahp, skb, ah->auth_data); top_iph->tos = iph->tos; @@ -116,7 +115,7 @@ error: return err; } -static int ah_input(struct xfrm_state *x, struct sk_buff *skb) +static int ah_input(struct xfrm_state *x, struct xfrm_decap_state *decap, struct sk_buff *skb) { int ah_hlen; struct iphdr *iph;