[DCCP]: Fix uninitialized var warnings in dccp_parse_options().
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:36:01 +0000 (22:36 -0800)
committerDavid 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

index da1676016484f6b32eefc14fede197b55ed99ab5..6e85550cc6f037443c0663c8e936199017eb8e56 100644 (file)
@@ -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;