From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames Date: Sun, 21 Feb 2021 08:39:31 +0200 Message-ID: References: <20210216201813.60394-1-xie.he.0141@gmail.com> <20210219103948.6644e61f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Mime-Version: 1.0 Return-path: 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== Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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