Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75d855a5 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

udp: get rid of SLAB_DESTROY_BY_RCU allocations



After commit ca065d0c ("udp: no longer use SLAB_DESTROY_BY_RCU")
we do not need this special allocation mode anymore, even if it is
harmless.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 232cb53a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2216,7 +2216,6 @@ struct proto udp_prot = {
	.sysctl_wmem	   = &sysctl_udp_wmem_min,
	.sysctl_rmem	   = &sysctl_udp_rmem_min,
	.obj_size	   = sizeof(struct udp_sock),
	.slab_flags	   = SLAB_DESTROY_BY_RCU,
	.h.udp_table	   = &udp_table,
#ifdef CONFIG_COMPAT
	.compat_setsockopt = compat_udp_setsockopt,
+0 −1
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ 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,
+0 −1
Original line number Diff line number Diff line
@@ -1460,7 +1460,6 @@ struct proto udpv6_prot = {
	.sysctl_wmem	   = &sysctl_udp_wmem_min,
	.sysctl_rmem	   = &sysctl_udp_rmem_min,
	.obj_size	   = sizeof(struct udp6_sock),
	.slab_flags	   = SLAB_DESTROY_BY_RCU,
	.h.udp_table	   = &udp_table,
#ifdef CONFIG_COMPAT
	.compat_setsockopt = compat_udpv6_setsockopt,
+0 −1
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ 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,