summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-12-14 07:25:06 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-03 21:10:53 (GMT)
commitfc44b9805324c0ad2733ea2feea9935cc056709d (patch)
tree6ba01edabb2d4bf49ee52fc7a7c32bddc36a79f2
parent3df80d9320bcaea72b1b4761a319c79cb3fdaf5f (diff)
downloadlinux-fc44b9805324c0ad2733ea2feea9935cc056709d.tar.xz
[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>
-rw-r--r--net/dccp/ipv4.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 3108c9d..bc28d71 100644
--- 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;