mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 22:16:49 +07:00
[DCCP]: Use reqsk_free in dccp_v4_conn_request
Now we have the destructor (dccp_v4_reqsk_destructor) in our request_sock_ops vtable. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3df80d9320
commit
fc44b98053
@ -721,10 +721,7 @@ int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
|
||||
return 0;
|
||||
|
||||
drop_and_free:
|
||||
/*
|
||||
* FIXME: should be reqsk_free after implementing req->rsk_ops
|
||||
*/
|
||||
__reqsk_free(req);
|
||||
reqsk_free(req);
|
||||
drop:
|
||||
DCCP_INC_STATS_BH(DCCP_MIB_ATTEMPTFAILS);
|
||||
dcb->dccpd_reset_code = reset_code;
|
||||
|
Loading…
Reference in New Issue
Block a user