aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r--net/dccp/ipv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 4dc588f520e0..fa9512d86f3b 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -343,6 +343,7 @@ static struct request_sock_ops dccp6_request_sock_ops = {
343 .send_ack = dccp_reqsk_send_ack, 343 .send_ack = dccp_reqsk_send_ack,
344 .destructor = dccp_v6_reqsk_destructor, 344 .destructor = dccp_v6_reqsk_destructor,
345 .send_reset = dccp_v6_ctl_send_reset, 345 .send_reset = dccp_v6_ctl_send_reset,
346 .syn_ack_timeout = dccp_syn_ack_timeout,
346}; 347};
347 348
348static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb) 349static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb)
@@ -579,7 +580,7 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk,
579 newnp->pktoptions = NULL; 580 newnp->pktoptions = NULL;
580 if (ireq6->pktopts != NULL) { 581 if (ireq6->pktopts != NULL) {
581 newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC); 582 newnp->pktoptions = skb_clone(ireq6->pktopts, GFP_ATOMIC);
582 kfree_skb(ireq6->pktopts); 583 consume_skb(ireq6->pktopts);
583 ireq6->pktopts = NULL; 584 ireq6->pktopts = NULL;
584 if (newnp->pktoptions) 585 if (newnp->pktoptions)
585 skb_set_owner_r(newnp->pktoptions, newsk); 586 skb_set_owner_r(newnp->pktoptions, newsk);