Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp530050ybi; Fri, 24 May 2019 07:32:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyclbOTIyf+0jSno1Be9aveFdA3W9AcSkMktlaDKqG8oUnyVwQ51pz0boOb/Jg2RQrGNaxa X-Received: by 2002:a17:90a:9281:: with SMTP id n1mr9503628pjo.25.1558708329375; Fri, 24 May 2019 07:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558708329; cv=none; d=google.com; s=arc-20160816; b=RNkHb8NuQ4pJwiLHkDJ54U0pdr/+Bv+Q/09Srzk9O/bbLUQOBEMTu09PSURKeOGOcc lqzBJmk69VFDFpIfpuRLP7/4dfx+AYHNy68qx461orXmHzYic/8Jp+a2Bm0/3g6h3o9L AOZTY6fv2BShsQ7w3LIxyrNwoPoXTyZsoQEJTMEmkfYAI1o0BVqiEVDgx5Kujfv3rg6q AAKRdfkLF3clB2ONPdgCphmKErTNFCo3R5VIUpDFsg03ayfMXgL2iIpQ6xRYHECD5XFC RLCTjoko7Wpniw+GKrQ7Cz6TtFiLSKMKrN5LZIGRoQ6hsXM4WBlNDxHVQNC2icAP60HE KToA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=qmOm2+IDgK8sE3Xpb0+CDo6EiKAxjLYp/FL06ihikMs=; b=uTy188WojM+R/h+T+/WsTcrcfcp63rmDNavzdjHV9k1gHysgk1isJgrhxwL4gKecVd dZfKR8CUWMqZjEs5m+qyW4F6KH4VVgYmzJS6MMJnpGaVdtfwNp6BGKV2pEMepCcpGIp5 UjnNEHT93VoFsw0sDhGs1WeEDlD4H43+uiOmhZnNxOQAvlzSo9Lm0OAWUZUmfMi5Qe2C Qvpa74bq/tae3Yq5XQ+wSitcOk4gYp5aWchmmyx3PJjar5rGHy25Etk3Vi74+vDC9QXb CDloQMZl6cuCnWb5uzOlPXrTDCeLXt2meycPm4HXblXKB+dsDCY0mfZMs3bA7Q7l/0nQ /BpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn10si4896036plb.270.2019.05.24.07.31.51; Fri, 24 May 2019 07:32:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391641AbfEXOaK (ORCPT + 99 others); Fri, 24 May 2019 10:30:10 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:54972 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390885AbfEXOaK (ORCPT ); Fri, 24 May 2019 10:30:10 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 668BEE8D9F6C3ED72522; Fri, 24 May 2019 22:30:05 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Fri, 24 May 2019 22:29:54 +0800 From: Kefeng Wang To: CC: Kefeng Wang , Andrew Morton , "David S. Miller" , "Eric Dumazet" Subject: [PATCH] kernel: sysctl: change ipfrag_high/low_thresh to CTL_ULONG Date: Fri, 24 May 2019 22:38:27 +0800 Message-ID: <20190524143827.43301-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3e67f106f619 ("inet: frags: break the 2GB limit for frags storage"), changes ipfrag_high/low_thread 'type' from int to long, using CTL_ULONG instead of CTL_INT to keep consistent. Cc: Andrew Morton Cc: "David S. Miller" Cc: Eric Dumazet Signed-off-by: Kefeng Wang --- kernel/sysctl_binary.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_binary.c index 73c132095a7b..ef0687f40f87 100644 --- a/kernel/sysctl_binary.c +++ b/kernel/sysctl_binary.c @@ -410,8 +410,8 @@ static const struct bin_table bin_net_ipv4_table[] = { { CTL_INT, NET_IPV4_ICMP_RATELIMIT, "icmp_ratelimit" }, { CTL_INT, NET_IPV4_ICMP_RATEMASK, "icmp_ratemask" }, - { CTL_INT, NET_IPV4_IPFRAG_HIGH_THRESH, "ipfrag_high_thresh" }, - { CTL_INT, NET_IPV4_IPFRAG_LOW_THRESH, "ipfrag_low_thresh" }, + { CTL_ULONG, NET_IPV4_IPFRAG_HIGH_THRESH, "ipfrag_high_thresh" }, + { CTL_ULONG, NET_IPV4_IPFRAG_LOW_THRESH, "ipfrag_low_thresh" }, { CTL_INT, NET_IPV4_IPFRAG_TIME, "ipfrag_time" }, { CTL_INT, NET_IPV4_IPFRAG_SECRET_INTERVAL, "ipfrag_secret_interval" }, -- 2.20.1