Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp565233ybi; Fri, 24 May 2019 08:02:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMP/lIb7cFAAZRQwnBGGpoEd870+eLsZ/72iz+c6bdfuM/md9P9x7CJ4v89ko8tTVu2Gs4 X-Received: by 2002:a63:a08:: with SMTP id 8mr105749492pgk.46.1558710152004; Fri, 24 May 2019 08:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558710151; cv=none; d=google.com; s=arc-20160816; b=csTPvEV60NoxCBitkp8ED14y2avuzwZaPc4Qgf/zXp6f38Io6k5Ryr2s/MfvYWtWaV 2M+wCA4XKYgxgEgiBt690VO6c2NjqmdAOvKbhWD3ixZ2OkLpHaMeB+ZUk9cNY9KJNMT/ E3ozAl+MH+PoXQ1GSBverNusXH9BN5hqLdHhbWonkp443b7o/GOpIUYfJRdU2CtYFhMp W+P6XNTAFu3mhyhQX7nmxHe0cxSX1H4EZx1gp9CQFtB1EDmD0dfmWU+1QJG9+Fld6mhc anAtxDgTg838LjZnf3vAO/jL8W5Nag6LTd5IUx//cB8crQqydT/p4wPN0QC/cifLcc1N J0BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pbtKxkwrkp0kCxg+pHFi0H5w7pzQ4JvysCOdR65ntSs=; b=PQ2FwOlfLY6A2o0+aiM24u+Md428prDu8UvtnjO0AvHDHpuucJsOWC82tb7ZsJdiBl /r5syBr302ko50yqUSVeQ+pbqiVmJ3jAd4nycUHD7xf4g3SZGM30LkWUub1QzhhGbRTY tdOpslKte8b1DMjzT5qfWTuCDAaGM45NpeVG8149RD4Ba6mfJQgpCjaoCSyo1HjATukA YHwETFhSfZX70iqelA4Amz7JEz66EAEHyO1vim6bnKstQTwTI4HcH1v3+ZavgSo10IQu YbLvbgM3NKEEPUO09GqnZ8plyU5hcOQz+93hTpHcNn6VzxnyZ6+T6CWLO350o6X6os/C KKTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hP912DHl; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s5si5184480pfd.210.2019.05.24.08.02.15; Fri, 24 May 2019 08:02:31 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=hP912DHl; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404198AbfEXPAr (ORCPT + 99 others); Fri, 24 May 2019 11:00:47 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:33959 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404095AbfEXPAr (ORCPT ); Fri, 24 May 2019 11:00:47 -0400 Received: by mail-yw1-f68.google.com with SMTP id n76so3760767ywd.1 for ; Fri, 24 May 2019 08:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pbtKxkwrkp0kCxg+pHFi0H5w7pzQ4JvysCOdR65ntSs=; b=hP912DHlGGxRkOBOGBRcPLrqi+t2Legh/a7RXslTTOjNWN/BunUwJY8ncQXH+52AGc mZ7lQSLnopPsPQLeYAeYlh+UV35O7I/BKhpKv7vvo42UFjCPFx+13C/+1sPuQw2jt2k5 WwrHaSgXDfBbvYxynUpJzGAaPgVIQa5cWOJLHImaCFnvA04JhA33DnBMV1jjw34QT+7O VZZxBS5lO0XZTNUxGsgPtAG4RMsoE4qA7oiHf6cCuLdHT0JoN6VKxdhLV2aEJ8i9FluJ MGukUT3RXdCORp2RRIvhk8rR2A2pRJRkNLc+hJ9ygZlh5lw8sFL7kYZQuUKtZyDo0eO2 2qdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pbtKxkwrkp0kCxg+pHFi0H5w7pzQ4JvysCOdR65ntSs=; b=HT4PuIznlZTwzB/jKfwhYAV761gfsbJPL/zHn/oM9hMcT0tV6jGufBhljwZaGN6KID hBJID7j8quuzGh2PBfGIo0LQT0waYvAcB7YD9dAe2fpMcM1YdFQwkdwCKJx01ojb2JIe DSjugTWWCBOPeV3qS3NU9CTBLmEZ/KQ92615/HlRRtFZYOw+dIT8Zr6qFSGniNBxvF0D MreklOTHQF87QLqXEflohIJBB+amBIxGfD+s2pqGivfqrZ0GAF1VK/TwbiZAmpgwxPY3 k3EuYxpJfHvRNsh2JIIwN/5PBRzRUC1Ipq7AIrPY9/Pho87AOfXKWpoC/7lvvNlLQVse Kicw== X-Gm-Message-State: APjAAAXwf19rU2AU1kiC31CWWk+5tqPXadzRupU3rDJO/mZdmjFsZ62M +hrZwUEZaJzmGasfHkeLg/Pi5y9SDUatNNs55EbG/g== X-Received: by 2002:a81:3217:: with SMTP id y23mr47288650ywy.386.1558710046098; Fri, 24 May 2019 08:00:46 -0700 (PDT) MIME-Version: 1.0 References: <20190524143827.43301-1-wangkefeng.wang@huawei.com> In-Reply-To: <20190524143827.43301-1-wangkefeng.wang@huawei.com> From: Eric Dumazet Date: Fri, 24 May 2019 08:00:34 -0700 Message-ID: Subject: Re: [PATCH] kernel: sysctl: change ipfrag_high/low_thresh to CTL_ULONG To: Kefeng Wang Cc: LKML , Andrew Morton , "David S. Miller" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 24, 2019 at 7:30 AM Kefeng Wang wrote: > > 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. What about compatibility with existing applications ? Will there sysctl() fail if they provide 32bit variable ? /proc/sys/net files are text files, but sysctl() system call has been discouraged for more than a decade.