diff options
Diffstat (limited to 'net/ipv6/xfrm6_mode_tunnel.c')
-rw-r--r-- | net/ipv6/xfrm6_mode_tunnel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_mode_tunnel.c b/net/ipv6/xfrm6_mode_tunnel.c index 9f2095b19ad0..93c41a81c4c3 100644 --- a/net/ipv6/xfrm6_mode_tunnel.c +++ b/net/ipv6/xfrm6_mode_tunnel.c | |||
@@ -69,8 +69,7 @@ static int xfrm6_mode_tunnel_input(struct xfrm_state *x, struct sk_buff *skb) | |||
69 | if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) | 69 | if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) |
70 | goto out; | 70 | goto out; |
71 | 71 | ||
72 | if (skb_cloned(skb) && | 72 | if (err = skb_unclone(skb, GFP_ATOMIC)) |
73 | (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC))) | ||
74 | goto out; | 73 | goto out; |
75 | 74 | ||
76 | if (x->props.flags & XFRM_STATE_DECAP_DSCP) | 75 | if (x->props.flags & XFRM_STATE_DECAP_DSCP) |