Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1317774pxy; Sun, 1 Aug 2021 20:58:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhECewG9+govWHzmFIr+Do11Pdh7Y5OQi/f7ZbhS9Ws7jVSCH2+JxWpoCp2OLk1t+WzLvp X-Received: by 2002:a5d:9c4a:: with SMTP id 10mr79611iof.23.1627876738228; Sun, 01 Aug 2021 20:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627876738; cv=none; d=google.com; s=arc-20160816; b=j2v+Zu/D5JE+b7ML7KmO01rAke12qBjrzsxzieX6LC7Dg+5sh5kSWECEQZTebaULkM 79wJYCS+j6OXW+teTZcAXfQVRL1Aurt00/KEk1QXFonKxet+Mrod+6CvslyYYTRqoWWY DpzJmaThztf6GpqP6tznW6t22uwJ28xvcxCo+ymaDYgL8XASHSICsIPaYVizmgUlVLIB PM7s9S24sR0vXMZeBpI24Q6L6/9bBS8l/KeRSOs+ftB58DOvIe+AX14/IyZFi9EMBBv+ h4NvI/T1TBgiKhmT1Vx8NhhyzcM2U7h596Z3ZZ2u/XGBdVw6p+z4x50GTbvl+N7vINzr vLjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xXttDcdgMtO70n4+Bnxj/8qRW2/JnpjzU4V0hygBryo=; b=FXndmq4WY9qN+48o1iTGfF2/vd/bpJ+eQlWnvNQw4b/efMOPAClRR0IoN9QblUB9vk jZK5MsRs+oEDOFqTJ07JbRDJpyy+wqD5Evg0mXpzO//8IVt+J0XoA+snu+1ktT2aBy3x HmiQjyqBtmsoUA/oAQWJguikfO0bu3nz9TdVVEWM61p6/Y7GeV3V0UcLKbNZ3dczx803 1UQS/t9sxt71mYO6OfU5mWDhnMJJ1z2vlgtKMsUL0qnz57cB4WRwg1/eBMXywVtFpZwo zb+Ez4+ysu05IVCJmyOLAa1yQGcisvDQSEj1qyDr20E7iR8FKY5KN/vUAY6g3EXhKYx6 20ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TBr+Xct6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x26si1804851jao.11.2021.08.01.20.58.47; Sun, 01 Aug 2021 20:58:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TBr+Xct6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232093AbhHBD6L (ORCPT + 99 others); Sun, 1 Aug 2021 23:58:11 -0400 Received: from out0.migadu.com ([94.23.1.103]:24851 "EHLO out0.migadu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231425AbhHBD6J (ORCPT ); Sun, 1 Aug 2021 23:58:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1627876679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xXttDcdgMtO70n4+Bnxj/8qRW2/JnpjzU4V0hygBryo=; b=TBr+Xct6kS6NB2mLaTZj8uevrdef6hqdBQwxQRz6e2uHt0/yXzqOIlGR8kXsWwVF9Tr98I RFcyj8vX2v5QvNMWYKqwbw6nKPxtEPif+gF2skQYTdtVmncF78eFouQ9IKahV4YfFiNogo nJeUwCjGaGjY5Hb+8ukD+SHQqQdCdME= From: Yajun Deng To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yajun Deng Subject: [PATCH net-next] neighbour: Rename procfs entry Date: Mon, 2 Aug 2021 11:57:45 +0800 Message-Id: <20210802035745.29934-1-yajun.deng@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: yajun.deng@linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use gc_thresh_{min, default, max} instead of gc_thresh{1, 2, 3}. This is more friendly for user. Signed-off-by: Yajun Deng --- net/core/neighbour.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/core/neighbour.c b/net/core/neighbour.c index e831b9adf1e4..c294addb7818 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -3595,7 +3595,7 @@ static struct neigh_sysctl_table { .proc_handler = proc_dointvec_jiffies, }, [NEIGH_VAR_GC_THRESH1] = { - .procname = "gc_thresh1", + .procname = "gc_thresh_min", .maxlen = sizeof(int), .mode = 0644, .extra1 = SYSCTL_ZERO, @@ -3603,7 +3603,7 @@ static struct neigh_sysctl_table { .proc_handler = proc_dointvec_minmax, }, [NEIGH_VAR_GC_THRESH2] = { - .procname = "gc_thresh2", + .procname = "gc_thresh_default", .maxlen = sizeof(int), .mode = 0644, .extra1 = SYSCTL_ZERO, @@ -3611,7 +3611,7 @@ static struct neigh_sysctl_table { .proc_handler = proc_dointvec_minmax, }, [NEIGH_VAR_GC_THRESH3] = { - .procname = "gc_thresh3", + .procname = "gc_thresh_max", .maxlen = sizeof(int), .mode = 0644, .extra1 = SYSCTL_ZERO, -- 2.32.0