diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index d4ce1224e008..4e172ccfd76c 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -426,7 +426,8 @@ static int dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb) | |||
426 | if (req == NULL) | 426 | if (req == NULL) |
427 | goto drop; | 427 | goto drop; |
428 | 428 | ||
429 | dccp_reqsk_init(req, skb); | 429 | if (dccp_reqsk_init(req, dccp_sk(sk), skb)) |
430 | goto drop_and_free; | ||
430 | 431 | ||
431 | dreq = dccp_rsk(req); | 432 | dreq = dccp_rsk(req); |
432 | if (dccp_parse_options(sk, dreq, skb)) | 433 | if (dccp_parse_options(sk, dreq, skb)) |