[NET]: should explicitely initialize atomic_t field in struct dst_ops
[powerpc.git] / net / ipv6 / xfrm6_policy.c
index c25a6b5..7d20199 100644 (file)
@@ -272,6 +272,7 @@ static struct dst_ops xfrm6_dst_ops = {
        .local_out =            __ip6_local_out,
        .gc_thresh =            1024,
        .entry_size =           sizeof(struct xfrm_dst),
+       .entries =              ATOMIC_INIT(0),
 };
 
 static struct xfrm_policy_afinfo xfrm6_policy_afinfo = {