From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D758EC43381 for ; Sun, 21 Feb 2021 06:40:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A187064F0B for ; Sun, 21 Feb 2021 06:40:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbhBUGkb (ORCPT ); Sun, 21 Feb 2021 01:40:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:49266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbhBUGkP (ORCPT ); Sun, 21 Feb 2021 01:40:15 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B0B864EE9; Sun, 21 Feb 2021 06:39:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613889575; bh=30oNEZb8PQcT0GiuTwiFEqcUx3BwhXK5+Nl0tiOURWg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oAlkzfZihU/RdvMLXzOyLJdhdWp+JpZgwTybDlrln5hMaOQb8qDbUYkx3v4JoeMBG /xrcOAXgSvPC38SeDYqxmDATOwj7RZwzlOqx6vo9vmGW32QXQWmA+G08DwXcYhAtlP iFP8muSdFRVcozozut90ergekY2iY/Ef6KLDKTbImM/zio+fvWIQks9zHdf2x4GDZ0 FhxzSVl1ZMklsOB+RYFJBEZR41ueWbeaVHNYQgtlmR15JzFi8/kXnaM2Lv5Aj1rln+ 9erTXW1vTxvOICl2fkkqDZhUK8O4qOqAZDP3/uIDMvbYFQ6L/HA0JM3wtGq/BG/tGm sjkiJNbMRYKvg== Date: Sun, 21 Feb 2021 08:39:31 +0200 From: Leon Romanovsky To: Xie He Cc: Jakub Kicinski , "David S. Miller" , Linux X25 , Linux Kernel Network Developers , LKML , Martin Schiller , Krzysztof Halasa , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames Message-ID: References: <20210216201813.60394-1-xie.he.0141@gmail.com> <20210219103948.6644e61f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 19, 2021 at 12:28:12PM -0800, Xie He wrote: > On Fri, Feb 19, 2021 at 10:39 AM Jakub Kicinski wrote: > > > > Not entirely sure what the argument is about but adding constants would > > certainly help. > > Leon wants me to replace this: > > dev->needed_headroom = 3 - 1; > > with this: > Leon wants this line to be written good enough: > /* 2 is the result of 3 - 1 */ And this line like you wrote here: > dev->needed_headroom = 2; <...> > Yes, this patch will break backward compatibility. Users with old > scripts will find them no longer working. Did you search in debian/fedora code repositories to see if such scripts exist as part of any distro package? Thanks