diff options
-rw-r--r-- | net/dccp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index e923ac95bb04..fa9512d86f3b 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -580,7 +580,7 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk, | |||
580 | newnp->pktoptions = NULL; | 580 | newnp->pktoptions = NULL; |
581 | if (ireq6->pktopts != NULL) { | 581 | if (ireq6->pktopts != NULL) { |
582 | newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); | 582 | newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); |
583 | kfree_skb(ireq6->pktopts); | 583 | consume_skb(ireq6->pktopts); |
584 | ireq6->pktopts = NULL; | 584 | ireq6->pktopts = NULL; |
585 | if (newnp->pktoptions) | 585 | if (newnp->pktoptions) |
586 | skb_set_owner_r(newnp->pktoptions, newsk); | 586 | skb_set_owner_r(newnp->pktoptions, newsk); |