Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5174829pxu; Thu, 10 Dec 2020 15:10:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKYzA5XT6hGww6Mr3zlg159TSjf1p1UlvibopKrEHM88pPNUq+G5WGnmf0nwXAJWpRGlNj X-Received: by 2002:a17:906:3bcd:: with SMTP id v13mr8479953ejf.181.1607641807136; Thu, 10 Dec 2020 15:10:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607641807; cv=none; d=google.com; s=arc-20160816; b=Konv2TPZ9x1eV2Uw0eNmqAp+Q1Sr7qS6pCmO5AJKmvPuRxU898tyJek0RH+S1oD2zi ZC453Y/h/R1zI4OEIE+TYgAAqiHx530gdb93TKfVknsKNyj07TdztyXbgmzcxYHqCVIM C1+TSdJXfw976Y9ECP5MfcPwW8DPA+lSl9+2bXJHQb1ipbazBx6UOXXq48JRzMZ4htNC 90GcR7BwTHr0N8928DGNr26KtKt6Uuj+1Ee12CrgoqWvO24Q6U2q2vkF2APxExpzEZS+ XFDJ881L42LTMUA7eksFGGFHftqtpt0yJPxrNl5SBLR52hXMdnpkvryMHFWZJ/DBapKe odyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VYZF6b0eAf0D2UpGn/w+5r6w0iBI6SckFUc4KZtxYx4=; b=o4gRNacRnzV+Kx3GxKqlFG0XBiimydpb8A+aHE8Y2K8KKL9bfLVoaXharsmEjk0ME5 ogQE9P0Ht2Grx1jA9lzFUXJ7pUDh7vy1oXCNWM8cfM/ZugFxRHewyqFV43Yck+z2VKxa H1C2BDJ8iiKQ9GqI1th5oIie9m6PdpcNzOh8pJjkMY66ZA0B1u7JlfmZGJWj1KwdWXsW n9LCNpjI8KveSm1I1He8UT6d2UH11GYVPQzcr5JbhaUgVWNPFf1necLJg2W26wtfq+45 QFZEqUO5dQFzcRfWe8hJl+BFKWoOGKtlmKM//B6jqjM775C17M/YhSbTnjaS89FIbZbY Pj3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GVbKgxRp; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s2si3725321edw.5.2020.12.10.15.09.44; Thu, 10 Dec 2020 15:10:07 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=GVbKgxRp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730489AbgLJJcm (ORCPT + 99 others); Thu, 10 Dec 2020 04:32:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbgLJJcm (ORCPT ); Thu, 10 Dec 2020 04:32:42 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE3C4C0613CF; Thu, 10 Dec 2020 01:32:01 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id c79so3504186pfc.2; Thu, 10 Dec 2020 01:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VYZF6b0eAf0D2UpGn/w+5r6w0iBI6SckFUc4KZtxYx4=; b=GVbKgxRpIEs8XnfazLphorUnKvkhAwtOtzBGMkORRuLBGzivBRbhyeouw5NbFmvjg8 0jLQHOCcMrlZl0i/H+b4dCCr6IozvyUIiFzADzIMTOHEQ/21DjUVDKxGM3Xjldl5aaks 51TMQ44PaAK/FjHA0Df9Qxh4rUuiBDJLGQEWHkDNK4dn9howBkrnLYgxn8a6DnA/vzzD PcUywu3uqdDuFFOsUK3teD8hma8lg4wsLl4dX7edxBQb7wz4tWIR88Fk+T3LYMUDmKgQ tP4h4FcAuHJwMBwV2AhMXSydvdE9/FVDsiagfJX++sqICT/FYkO0rdnxSw9b1HoVjPqH XNuw== 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=VYZF6b0eAf0D2UpGn/w+5r6w0iBI6SckFUc4KZtxYx4=; b=NsMJbpAxKbUJ2a3DMFYCZ56L/biNYVc69wTW+x3/7EJS521UjN7UmAx2dWiqcRfjfP ONZCRJBl+prKlChlKo9xfa093JaL085qY5kBVdxC1srEnBkboYTYFmK3AX7e3mZktkxa qnQWm2Q+gGmh6N/kPR3UoeUFFxpTjJU/U0KEqGb8K15/y4xKiuSK32Te7Wq0BUrKxFqk FibC3F6vgNcPhS4SzacAAmxfUp5rU+pc2NxJ+YYOuqPItFveCFYiPrjlpItnaseXlVP6 Pfq4rAoHeXUSzB/uIDES1DIlD7LWFq+eIqt+w7Lsjx497/ACBfRicUDc3wy+zmK9io6b OpFw== X-Gm-Message-State: AOAM531BvWHNa4jP6D+uWdbyOqZq7EOy4Cwx3PgySv2gfLQ3AMPvgX3x s5hCcMZMGaU7R7PmwK1QvzfvUCtr7syOMTEGUhI= X-Received: by 2002:a63:d312:: with SMTP id b18mr5864602pgg.233.1607592721531; Thu, 10 Dec 2020 01:32:01 -0800 (PST) MIME-Version: 1.0 References: <20201126063557.1283-1-ms@dev.tdt.de> <20201126063557.1283-5-ms@dev.tdt.de> <3e314d2786857cbd5aaee8b83a0e6daa@dev.tdt.de> <458f89938c565b82fe30087fb33602b9@dev.tdt.de> In-Reply-To: <458f89938c565b82fe30087fb33602b9@dev.tdt.de> From: Xie He Date: Thu, 10 Dec 2020 01:31:50 -0800 Message-ID: Subject: Re: [PATCH net-next v7 4/5] net/x25: fix restart request/confirm handling To: Martin Schiller Cc: Andrew Hendry , "David S. Miller" , Jakub Kicinski , Linux X25 , Linux Kernel Network Developers , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 9, 2020 at 10:27 PM Martin Schiller wrote: > > > Hi Martin, > > > > When you submit future patch series, can you try ensuring the code to > > be in a completely working state after each patch in the series? This > > makes reviewing the patches easier. After the patches get applied, > > this also makes tracing bugs (for example, with "git bisect") through > > the commit history easier. > > Well I thought that's what patch series are for: > Send patches that belong together and should be applied together. > > Of course I will try to make each patch work on its own, but this is not > always possible with major changes or ends up in monster patches. > And nobody wants that. Thanks! I admit that this series is a big change and is not easy to split up properly. If I were you, I may end up sending a very big patch first, and then follow up with small patches for "restart request/confirm handling" and "add/remove x25_neigh on device-register/unregister instead of device-up/down". (The little change in x25_link_established should belong to the first big patch instead of "restart request/confirm handling".) But making each patch work on its own is indeed preferable. I see https://www.kernel.org/doc/html/latest/process/submitting-patches.html says: When dividing your change into a series of patches, take special care to ensure that the kernel builds and runs properly after each patch in the series. Developers using git bisect to track down a problem can end up splitting your patch series at any point; they will not thank you if you introduce bugs in the middle.