diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-12-14 02:25:06 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:10:53 -0500 |
commit | fc44b9805324c0ad2733ea2feea9935cc056709d (patch) | |
tree | 6ba01edabb2d4bf49ee52fc7a7c32bddc36a79f2 | |
parent | 3df80d9320bcaea72b1b4761a319c79cb3fdaf5f (diff) |
[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.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 3108c9d464f7..bc28d71905e2 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) | |||
721 | return 0; | 721 | return 0; |
722 | 722 | ||
723 | drop_and_free: | 723 | drop_and_free: |
724 | /* | 724 | reqsk_free(req); |
725 | * FIXME: should be reqsk_free after implementing req->rsk_ops | ||
726 | */ | ||
727 | __reqsk_free(req); | ||
728 | drop: | 725 | drop: |
729 | DCCP_INC_STATS_BH(DCCP_MIB_ATTEMPTFAILS); | 726 | DCCP_INC_STATS_BH(DCCP_MIB_ATTEMPTFAILS); |
730 | dcb->dccpd_reset_code = reset_code; | 727 | dcb->dccpd_reset_code = reset_code; |