diff options
Diffstat (limited to 'net/xfrm/xfrm_output.c')
-rw-r--r-- | net/xfrm/xfrm_output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c index ff4a91fcab9f..637387bbaaea 100644 --- a/net/xfrm/xfrm_output.c +++ b/net/xfrm/xfrm_output.c | |||
@@ -99,6 +99,9 @@ static int xfrm_output_one(struct sk_buff *skb, int err) | |||
99 | 99 | ||
100 | skb_dst_force(skb); | 100 | skb_dst_force(skb); |
101 | 101 | ||
102 | /* Inner headers are invalid now. */ | ||
103 | skb->encapsulation = 0; | ||
104 | |||
102 | err = x->type->output(x, skb); | 105 | err = x->type->output(x, skb); |
103 | if (err == -EINPROGRESS) | 106 | if (err == -EINPROGRESS) |
104 | goto out; | 107 | goto out; |