diff options
author | Ian McDonald <ian.mcdonald@jandi.co.nz> | 2007-05-28 15:37:45 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 01:15:06 -0400 |
commit | 6bc7efe8efa627077f8f65d01dbb762fc9356a2f (patch) | |
tree | 0e84e3602911a290e0d49bd5523cc2b09c479d0a /net/dccp/ccids | |
parent | e961811fcde4202ae5c3c9ce81dcfc244e8959bb (diff) |
loss_interval: Fix timeval initialisation
When compiling with EXTRA_CFLAGS=-W noticed that tstamp is not initialised
correctly in dccp_li_calc_first_li.
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Diffstat (limited to 'net/dccp/ccids')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index 2d203ae41aad..9686a8de2e91 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -829,7 +829,7 @@ static u32 ccid3_hc_rx_calc_first_li(struct sock *sk) | |||
829 | struct dccp_rx_hist_entry *entry, *next, *tail = NULL; | 829 | struct dccp_rx_hist_entry *entry, *next, *tail = NULL; |
830 | u32 x_recv, p; | 830 | u32 x_recv, p; |
831 | suseconds_t rtt, delta; | 831 | suseconds_t rtt, delta; |
832 | struct timeval tstamp = { 0, }; | 832 | struct timeval tstamp = { 0, 0 }; |
833 | int interval = 0; | 833 | int interval = 0; |
834 | int win_count = 0; | 834 | int win_count = 0; |
835 | int step = 0; | 835 | int step = 0; |