ipv6: Initialize the struct rt6_info behind the dst_enty field
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 5 Jul 2012 23:37:09 +0000 (23:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Jul 2012 07:29:12 +0000 (00:29 -0700)
commit8104891b86b212de77063660c0c062b427526fa6
treea90d026f1b2d43a368307880b967fa6ee45f64e5
parent921a678cb6825900478f1e8e9c59035f8c67aa32
ipv6: Initialize the struct rt6_info behind the dst_enty field

We start initializing the struct rt6_info at the first field
behind the struct dst_enty. This is error prone because it
might leave a new field uninitialized. So start initializing
the struct rt6_info right behind the dst_entry.

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c