diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index ad6212e00435..5e1ee0da2c40 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -302,7 +302,6 @@ done: | |||
302 | 302 | ||
303 | static void dccp_v6_reqsk_destructor(struct request_sock *req) | 303 | static void dccp_v6_reqsk_destructor(struct request_sock *req) |
304 | { | 304 | { |
305 | dccp_feat_list_purge(&dccp_rsk(req)->dreq_featneg); | ||
306 | if (inet6_rsk(req)->pktopts != NULL) | 305 | if (inet6_rsk(req)->pktopts != NULL) |
307 | kfree_skb(inet6_rsk(req)->pktopts); | 306 | kfree_skb(inet6_rsk(req)->pktopts); |
308 | } | 307 | } |
@@ -425,8 +424,7 @@ static int dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb) | |||
425 | if (req == NULL) | 424 | if (req == NULL) |
426 | goto drop; | 425 | goto drop; |
427 | 426 | ||
428 | if (dccp_reqsk_init(req, dccp_sk(sk), skb)) | 427 | dccp_reqsk_init(req, skb); |
429 | goto drop_and_free; | ||
430 | 428 | ||
431 | dreq = dccp_rsk(req); | 429 | dreq = dccp_rsk(req); |
432 | if (dccp_parse_options(sk, dreq, skb)) | 430 | if (dccp_parse_options(sk, dreq, skb)) |