diff options
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 882c5c4de69e..0ce84ea89119 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -595,7 +595,8 @@ int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb) | |||
595 | if (req == NULL) | 595 | if (req == NULL) |
596 | goto drop; | 596 | goto drop; |
597 | 597 | ||
598 | dccp_reqsk_init(req, skb); | 598 | if (dccp_reqsk_init(req, dccp_sk(sk), skb)) |
599 | goto drop_and_free; | ||
599 | 600 | ||
600 | dreq = dccp_rsk(req); | 601 | dreq = dccp_rsk(req); |
601 | if (dccp_parse_options(sk, dreq, skb)) | 602 | if (dccp_parse_options(sk, dreq, skb)) |