net: Don't leak packets when a netns is going down
[pandora-kernel.git] / net / ipv6 / udplite.c
index f1e892a..ba162a8 100644 (file)
@@ -49,6 +49,7 @@ struct proto udplitev6_prot = {
        .unhash            = udp_lib_unhash,
        .get_port          = udp_v6_get_port,
        .obj_size          = sizeof(struct udp6_sock),
+       .slab_flags        = SLAB_DESTROY_BY_RCU,
        .h.udp_table       = &udplite_table,
 #ifdef CONFIG_COMPAT
        .compat_setsockopt = compat_udpv6_setsockopt,