ping: always initialize ->sin6_scope_id and ->sin6_flowinfo
authorCong Wang <amwang@redhat.com>
Sun, 2 Jun 2013 22:43:52 +0000 (22:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 23:58:42 +0000 (16:58 -0700)
commitc26d6b46da3ee86fa8a864347331e5513ca84c2b
tree0fe0308fbe1fc52dd8b870b464338a831ace6785
parent430f03cde2fb9596d8b562824471e298a8080df9
ping: always initialize ->sin6_scope_id and ->sin6_flowinfo

If we don't need scope id, we should initialize it to zero.
Same for ->sin6_flowinfo.

Cc: Lorenzo Colitti <lorenzo@google.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ping.c