[DCCP]: Fix uninitialized var warnings in dccp_parse_options().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
57b47a53ec
commit
fb9504964d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue