[PATCH net-next] subflow: useless patch

Davide Caratti posted 1 patch 3 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/dcaratti/mptcp_net-next tags/patchew/025460b1193a9b0f15be212c50e97f2dd952ceaa.1630333247.git.dcaratti@redhat.com
Maintainers: "David S. Miller" <davem@davemloft.net>, Mat Martineau <mathew.j.martineau@linux.intel.com>, Jakub Kicinski <kuba@kernel.org>, Matthieu Baerts <matthieu.baerts@tessares.net>
net/mptcp/subflow.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH net-next] subflow: useless patch

Posted by Davide Caratti 3 weeks, 5 days ago
doesn't fix anything

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
---
 net/mptcp/subflow.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index 54b7ffc21861..af5bbbefbf66 100644
--- a/net/mptcp/subflow.c
+++ b/net/mptcp/subflow.c
@@ -1764,9 +1764,8 @@ static struct tcp_ulp_ops subflow_ulp_ops __read_mostly = {
 static int subflow_ops_init(struct request_sock_ops *subflow_ops)
 {
 	subflow_ops->obj_size = sizeof(struct mptcp_subflow_request_sock);
-	subflow_ops->slab_name = "request_sock_subflow";
 
-	subflow_ops->slab = kmem_cache_create(subflow_ops->slab_name,
+	subflow_ops->slab = kmem_cache_create("request_sock_subflow",
 					      subflow_ops->obj_size, 0,
 					      SLAB_ACCOUNT |
 					      SLAB_TYPESAFE_BY_RCU,
-- 
2.31.1