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 5e1ee0da2c40..33e8a1ea3041 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -424,7 +424,8 @@ static int dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb)
424 if (req == NULL) 424 if (req == NULL)
425 goto drop; 425 goto drop;
426 426
427 dccp_reqsk_init(req, skb); 427 if (dccp_reqsk_init(req, dccp_sk(sk), skb))
428 goto drop_and_free;
428 429
429 dreq = dccp_rsk(req); 430 dreq = dccp_rsk(req);
430 if (dccp_parse_options(sk, dreq, skb)) 431 if (dccp_parse_options(sk, dreq, skb))