aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/dccp/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index da167601648..6e85550cc6f 100644
--- 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;