Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp716047rwb; Thu, 11 Aug 2022 08:45:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR6y0zW7HC21c9HR4z1yclH5/TXNg5gk0Tp6nAP0x2mlt7bJZOAmCNawvsgotA5iSfixhVK/ X-Received: by 2002:a17:907:1b1f:b0:72f:56db:cce9 with SMTP id mp31-20020a1709071b1f00b0072f56dbcce9mr23991800ejc.605.1660232721233; Thu, 11 Aug 2022 08:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660232721; cv=none; d=google.com; s=arc-20160816; b=VpnNCGNNXq7T7o4YI/+jQ20E0ceQPtuxwq7TAhwl0vuveQ16SBO7k+daFHW1IpK6Iv IMRmYQ+50U6uVMqJ+yhylIDMXW1HhQ+9Vg+Y9YDQiA2tlxu2iGs4MD/4OIkQO9kDgWqs 4EVu+rJ9Pf0gQFfJAA/5YmgS6f4PuP8vEeyFv2i99/drBHjtumpk+wNoiZLTTQIKMEDS Yy6PlQcDglNlDPdm5qZZu01A5XABrcw4Lm+LOZ94ZGyB5qN+ctAKqskNQs6Mecu6ExAe RPR1ZKXqlNI4pWhXiux0R5T2bdlW7ewbQA8xIDxj0UfIstriMkNzWVNANulSMiUZ4XCs sKhA== 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=Zr5E6fvnauAQyciWhD4CMUprKYdv8I+qwGdyCSBAivE=; b=fr7065dh/lq8j3m1rzC2AXIPqgEfK9yeIQuln8L5Q1J4dyoAy9Gkj7NsZxgG0VxFPe tkZ9ZD3VU4JuzE0AnzrmZK7IPubhA841hFRTmV+ncMEcRTphg3WAylJJr5YygikL0POH 3NHekurUmnFwHLv4gfctjYy5otViCMsgg4ji4W/gC4n6W+KDv9LgauLsj7G0YP7p00pt 9PdMV/mb/Kpok/NPeAZTNBDebyWFKM2JMMi0zqMA7WbOx8lIjhTj0kNdc2d9NMCIM8Xw N6ohvq5CQ2liXfem1rBRbQJ6D8So03/H5oow3Rz10IAOlv5aPxY5Fn5fVEOKDT5MelDO vqSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mihalicyn.com header.s=mihalicyn header.b=DZMdemll; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mihalicyn.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he17-20020a1709073d9100b0072b02ef4ad9si8098539ejc.307.2022.08.11.08.44.53; Thu, 11 Aug 2022 08:45:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mihalicyn.com header.s=mihalicyn header.b=DZMdemll; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mihalicyn.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233756AbiHKO5n (ORCPT + 99 others); Thu, 11 Aug 2022 10:57:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234066AbiHKO5l (ORCPT ); Thu, 11 Aug 2022 10:57:41 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C59FA6D569 for ; Thu, 11 Aug 2022 07:57:40 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id z17so21634918wrq.4 for ; Thu, 11 Aug 2022 07:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mihalicyn.com; s=mihalicyn; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=Zr5E6fvnauAQyciWhD4CMUprKYdv8I+qwGdyCSBAivE=; b=DZMdemll/lVv0QElnLbSPPYCekgQ/oSECwCD07OXOZAMk7Sgji4BSmSNruRtm/fy0D wWYRc7/llc4wKT8o6OzhmckbwI8vmYVGM+21/fHER3ODq3yeqylnu1HUEBbitRIyo6vo gT+2wv/DZRBqZbemgEpmI0HqC27Trrra3Z504= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=Zr5E6fvnauAQyciWhD4CMUprKYdv8I+qwGdyCSBAivE=; b=Kaj27qQG5UPz1m8c9H0EAcYaSnwCirgCPD6o1BTmyAga5fNX3cUfDv3bg1hhIGdIKw Dn/Lww9yF3Mq36FFrK7CvlDtl20ITlg7CouqXljecIUUh4jXMJ5G5p8PtEzcgAzI+w2j 9VFMVCkXH/24/PNSRgYSB9zgwu/BTMi3LBO3RisNe8sPRbgkWqBicKuIug/BNf3ph6Yf eLkovpF/V0/lIlv6nBZC8eADV1J0E+wQ8qPubTz/UOwzcokz9+yJkeUzCuyLuR9L9WYx 1QY5LfMk4QaTIdR0OC4Jn5f+KNq/I9H18E25ECHSTF44I/zQLdR1YXlA0RnA964d0CBW fANg== X-Gm-Message-State: ACgBeo1wqEYb/DCZcT8cSHKbwo9zNGr5cjRlp5errIHEfNPM819ufMmL O709Xx1jei0Iqmumn+5pZuXysC3eG5gE1NYyiMEpYg== X-Received: by 2002:a5d:6c6f:0:b0:222:cdb9:f002 with SMTP id r15-20020a5d6c6f000000b00222cdb9f002mr12165079wrz.198.1660229859300; Thu, 11 Aug 2022 07:57:39 -0700 (PDT) MIME-Version: 1.0 References: <20220729103559.215140-1-alexander.mikhalitsyn@virtuozzo.com> <20220810160840.311628-1-alexander.mikhalitsyn@virtuozzo.com> <20220811074630.4784fe6e@kernel.org> <20220811075346.22699ece@kernel.org> In-Reply-To: <20220811075346.22699ece@kernel.org> From: Alexander Mikhalitsyn Date: Thu, 11 Aug 2022 17:57:28 +0300 Message-ID: Subject: Re: [PATCH v2 0/2] neighbour: fix possible DoS due to net iface start/stop loop To: Jakub Kicinski Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Daniel Borkmann , David Ahern , Yajun Deng , Roopa Prabhu , Christian Brauner , linux-kernel@vger.kernel.org, "Denis V . Lunev" , Alexey Kuznetsov , Konstantin Khorenko , Pavel Tikhomirov , Andrey Zhadchenko , kernel@openvz.org, devel@openvz.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 11, 2022 at 5:53 PM Jakub Kicinski wrote: > > On Thu, 11 Aug 2022 17:51:32 +0300 Alexander Mikhalitsyn wrote: > > On Thu, Aug 11, 2022 at 5:46 PM Jakub Kicinski wrote: > > > On Wed, 10 Aug 2022 19:08:38 +0300 Alexander Mikhalitsyn wrote: > > > > include/net/neighbour.h | 1 + > > > > net/core/neighbour.c | 46 +++++++++++++++++++++++++++++++++-------- > > > > 2 files changed, 38 insertions(+), 9 deletions(-) > > > > > > Which tree are these based on? They don't seem to apply cleanly > > > > It's based on 5.19 tree, but I can easily resent it based on net-next. > > netdev/net would be the most appropriate tree for a fix. > Not that it differs much from net-next at this stage of > the merge window. Yes, thanks Jakub. I'm a newbie here ;) Sorry for the inconvenience. Will rebase and send patches soon.