diff options
Diffstat (limited to 'net/ipv4/xfrm4_input.c')
-rw-r--r-- | net/ipv4/xfrm4_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/xfrm4_input.c b/net/ipv4/xfrm4_input.c index 662d1e86cfbf..d5890c84a492 100644 --- a/net/ipv4/xfrm4_input.c +++ b/net/ipv4/xfrm4_input.c | |||
@@ -59,6 +59,9 @@ int xfrm4_transport_finish(struct sk_buff *skb, int async) | |||
59 | xfrm4_rcv_encap_finish); | 59 | xfrm4_rcv_encap_finish); |
60 | return 0; | 60 | return 0; |
61 | #else | 61 | #else |
62 | if (async) | ||
63 | return xfrm4_rcv_encap_finish(skb); | ||
64 | |||
62 | return -iph->protocol; | 65 | return -iph->protocol; |
63 | #endif | 66 | #endif |
64 | } | 67 | } |