diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 02:15:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 02:15:42 +0100 |
commit | 7400d781105d18bf5bba89f8b986a413f14144a8 (patch) | |
tree | 39bba6735fa99c5b2aa755b81c0cebc0ac901931 /net/dccp/ipv4.c | |
parent | [NETFILTER] nfnetlink_log: add sequence numbers for log events (diff) | |
download | linux-7400d781105d18bf5bba89f8b986a413f14144a8.tar.xz linux-7400d781105d18bf5bba89f8b986a413f14144a8.zip |
[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) do_gettimeofday(&dp->dccps_epoch); if (dp->dccps_options.dccpo_send_ack_vector) { - dp->dccps_hc_rx_ackvec = dccp_ackvec_alloc(DCCP_MAX_ACKVEC_LEN, - GFP_KERNEL); + dp->dccps_hc_rx_ackvec = dccp_ackvec_alloc(GFP_KERNEL); if (dp->dccps_hc_rx_ackvec == NULL) return -ENOMEM; } |