diff options
Diffstat (limited to 'net/ipv4/xfrm4_input.c')
-rw-r--r-- | net/ipv4/xfrm4_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_input.c b/net/ipv4/xfrm4_input.c index bc5dc0747cd2..5e95c8a07efb 100644 --- a/net/ipv4/xfrm4_input.c +++ b/net/ipv4/xfrm4_input.c | |||
@@ -91,10 +91,10 @@ int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, | |||
91 | 91 | ||
92 | xfrm_vec[xfrm_nr++] = x; | 92 | xfrm_vec[xfrm_nr++] = x; |
93 | 93 | ||
94 | if (x->mode->input(x, skb)) | 94 | if (x->outer_mode->input(x, skb)) |
95 | goto drop; | 95 | goto drop; |
96 | 96 | ||
97 | if (x->mode->flags & XFRM_MODE_FLAG_TUNNEL) { | 97 | if (x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL) { |
98 | decaps = 1; | 98 | decaps = 1; |
99 | break; | 99 | break; |
100 | } | 100 | } |