projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3df80d9
)
[DCCP]: Use reqsk_free in dccp_v4_conn_request
author
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Wed, 14 Dec 2005 07:25:06 +0000
(23:25 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Tue, 3 Jan 2006 21:10:53 +0000
(13:10 -0800)
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>
net/dccp/ipv4.c
patch
|
blob
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index
3108c9d
..
bc28d71
100644
(file)
--- a/
net/dccp/ipv4.c
+++ b/
net/dccp/ipv4.c
@@
-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;