mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
[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
@ -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 New Issue
Block a user