Commit c4a88af9 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[IPSEC]: Use xfrm4_rcv in xfrm4_tunnel

This is a trivial patch to use xfrm4_rcv in xfrm4_tunnel.  It doesn't
need the extra argument provided by xfrm4_rcv_encap.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 343320d2
...@@ -68,7 +68,7 @@ static int ipip_rcv(struct sk_buff *skb) ...@@ -68,7 +68,7 @@ static int ipip_rcv(struct sk_buff *skb)
if (handler && handler->handler(skb) == 0) if (handler && handler->handler(skb) == 0)
return 0; return 0;
return xfrm4_rcv_encap(skb, 0); return xfrm4_rcv(skb);
} }
static void ipip_err(struct sk_buff *skb, u32 info) static void ipip_err(struct sk_buff *skb, u32 info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment