]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/udplite.c
udp: RCU handling for Unicast packets.
[~andy/linux] / net / ipv4 / udplite.c
index d8ea8e5f5ea326663f8a90e84a6dd6855b811fbb..c784891cb7e57b3f037b26f858c714bfc9614a33 100644 (file)
@@ -51,6 +51,7 @@ struct proto  udplite_prot = {
        .unhash            = udp_lib_unhash,
        .get_port          = udp_v4_get_port,
        .obj_size          = sizeof(struct udp_sock),
+       .slab_flags        = SLAB_DESTROY_BY_RCU,
        .h.udp_table       = &udplite_table,
 #ifdef CONFIG_COMPAT
        .compat_setsockopt = compat_udp_setsockopt,