projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b47a5
)
[DCCP]: Fix uninitialized var warnings in dccp_parse_options().
author
David S. Miller
<davem@davemloft.net>
Tue, 21 Mar 2006 06:36:01 +0000
(22:36 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 21 Mar 2006 06:36:01 +0000
(22:36 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/options.c
patch
|
blob
|
history
diff --git
a/net/dccp/options.c
b/net/dccp/options.c
index
da16760
..
6e85550
100644
(file)
--- a/
net/dccp/options.c
+++ b/
net/dccp/options.c
@@
-78,6
+78,7
@@
int dccp_parse_options(struct sock *sk, struct sk_buff *skb)
memset(opt_recv, 0, sizeof(*opt_recv));
+ opt = len = 0;
while (opt_ptr != opt_end) {
opt = *opt_ptr++;
len = 0;