diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-20 20:15:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 20:15:42 -0500 |
commit | 7400d781105d18bf5bba89f8b986a413f14144a8 (patch) | |
tree | 39bba6735fa99c5b2aa755b81c0cebc0ac901931 /net/dccp/ipv4.c | |
parent | 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 (diff) |
[DCCP] ackvec: Ditch dccpav_buf_len
Simplifying the code a bit as we're always using DCCP_MAX_ACKVEC_LEN.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index dc0487b5bace..f8df565e89c8 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -1042,8 +1042,7 @@ int dccp_v4_init_sock(struct sock *sk) | |||
1042 | do_gettimeofday(&dp->dccps_epoch); | 1042 | do_gettimeofday(&dp->dccps_epoch); |
1043 | 1043 | ||
1044 | if (dp->dccps_options.dccpo_send_ack_vector) { | 1044 | if (dp->dccps_options.dccpo_send_ack_vector) { |
1045 | dp->dccps_hc_rx_ackvec = dccp_ackvec_alloc(DCCP_MAX_ACKVEC_LEN, | 1045 | dp->dccps_hc_rx_ackvec = dccp_ackvec_alloc(GFP_KERNEL); |
1046 | GFP_KERNEL); | ||
1047 | if (dp->dccps_hc_rx_ackvec == NULL) | 1046 | if (dp->dccps_hc_rx_ackvec == NULL) |
1048 | return -ENOMEM; | 1047 | return -ENOMEM; |
1049 | } | 1048 | } |