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