projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e961811
)
loss_interval: Fix timeval initialisation
author
Ian McDonald
<ian.mcdonald@jandi.co.nz>
Mon, 28 May 2007 19:37:45 +0000
(16:37 -0300)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:15:06 +0000
(22:15 -0700)
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>
net/dccp/ccids/ccid3.c
patch
|
blob
|
history
diff --git
a/net/dccp/ccids/ccid3.c
b/net/dccp/ccids/ccid3.c
index
2d203ae
..
9686a8d
100644
(file)
--- 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)
struct dccp_rx_hist_entry *entry, *next, *tail = NULL;
u32 x_recv, p;
suseconds_t rtt, delta;
- struct timeval tstamp = { 0, };
+ struct timeval tstamp = { 0,
0
};
int interval = 0;
int win_count = 0;
int step = 0;