diff options
Diffstat (limited to 'net/ipv6/xfrm6_mode_tunnel.c')
| -rw-r--r-- | net/ipv6/xfrm6_mode_tunnel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_mode_tunnel.c b/net/ipv6/xfrm6_mode_tunnel.c index 9f2095b19ad0..9bf6a74a71d2 100644 --- a/net/ipv6/xfrm6_mode_tunnel.c +++ b/net/ipv6/xfrm6_mode_tunnel.c | |||
| @@ -69,8 +69,8 @@ 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 | err = skb_unclone(skb, GFP_ATOMIC); |
| 73 | (err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC))) | 73 | if (err) |
| 74 | goto out; | 74 | goto out; |
| 75 | 75 | ||
| 76 | if (x->props.flags & XFRM_STATE_DECAP_DSCP) | 76 | if (x->props.flags & XFRM_STATE_DECAP_DSCP) |
