aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-03-20 20:15:42 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 20:15:42 -0500
commit7400d781105d18bf5bba89f8b986a413f14144a8 (patch)
tree39bba6735fa99c5b2aa755b81c0cebc0ac901931 /net/dccp/ipv4.c
parent0af5f6c1eba4a18e6b2ed518b589927d778c6c16 (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.c3
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 }