Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2287207imm; Sun, 12 Aug 2018 10:39:40 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyMcJM6D97UgUvwueSrXM1sK8rO9eu/J4IYJa+aOQocPvdejykp2PeqH1/f2ePCre/pGGN9 X-Received: by 2002:a63:d401:: with SMTP id a1-v6mr13966473pgh.414.1534095580362; Sun, 12 Aug 2018 10:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534095580; cv=none; d=google.com; s=arc-20160816; b=eU5SxSxQftEsGx/BZPv7CB05SN/nfwAF4tHCT2GQKB91jolLmIBAKo930Ek+3PLRaE xg3ONukEZDmjGq0+J7UMt+TFEUEWJ4cpdwH8kY+r4rm4BjzY7E2pl+eUNe0Jwfx+rYWZ m/VO2fOzLzXppovnX0VLCVlCo1kytqNHh0xNXMFsHBqv5zZfIngccblNd6VWpAtq4ucj 3sZxI359uuk6lvPQs/1L3SDt8okbxoHBr186WRuSP4H1DjZWEyf+iGqOj1/E4A1Lu4XZ JRipCSYzCct1XsWYHebmG2g3kv1GAhp/+vl+fQUmYHXg4R305LpEds+tszckTNkzNJwE d+DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=MRvQ1/Zgi4HopyUeiuWnRH2ggPV6UgmjHqHwVBdm9a4=; b=dbkxI2YuEleXH2rIjEXLFSip4Ww8xI0rucaHw8nSP8pOOwGs85B5toGeUqQh1Noa/M ANW/OGIqyGWYkqpY+87o9sxyMSGKtsK59iYz20diVwlBoIyCcM1Z7v2FA8qHAcFUvQU7 6SFX3nZgkUPthXCxPnJYKoX/BJU4peKTxX9LpzV0aeAXcwHcWxC4LdOuru0Cz8zD/vbd xzojbmKIrNGR0Xy0k0PR+gtImSh80BfiepqM4ahZ0LS3js67QeOJQl6X75zXu44rIS6k fkyXDoO6KJYULOwOreTY64+P8KEg5NBPovvWM+CuBHLxisoDmAKAQ1LM0pFMDZXlndQg S+iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GVeemWZH; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17-v6si15120491pgg.218.2018.08.12.10.39.03; Sun, 12 Aug 2018 10:39:40 -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=@gmail.com header.s=20161025 header.b=GVeemWZH; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728388AbeHLUPy (ORCPT + 99 others); Sun, 12 Aug 2018 16:15:54 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:55782 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727774AbeHLUPx (ORCPT ); Sun, 12 Aug 2018 16:15:53 -0400 Received: by mail-it0-f68.google.com with SMTP id d10-v6so9418881itj.5; Sun, 12 Aug 2018 10:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MRvQ1/Zgi4HopyUeiuWnRH2ggPV6UgmjHqHwVBdm9a4=; b=GVeemWZHsB4okxZjAvMVo1fAihIQbuhlNQ8A77j7pNqjoxW3wYZPndVExKo9gl8S0c jgcRDY51BNrHWyWhLx3ccnsPmjxGlSZO3bacjauMq/XtQbGg1lwZgaJ0FuxWZnE3yWi3 mTcSwFVZOXOKnCUstZgWwvrsbn5i4BEnttzV9oqo0JYiKh5y7g8Emkw7jtu16Na/tn+d rqSdqmDZqrAw0KD+EzXBVNz2GQtuxTarTWRaSIdzHKKplJFI3QOkDn0KSkaQcAFYvHTO GlFQz9+LxG9UhOkJclKecXp4yV+VBYd7LqspBqTvdzcx1CgIatNs81ytCP3u/IIsIAil ARhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MRvQ1/Zgi4HopyUeiuWnRH2ggPV6UgmjHqHwVBdm9a4=; b=UvKjEua0yvkOyDKnibyC2tXZdx5NOid+RQKpqaCqaOzVqbwX+x71fxMxFVUrhqxlbN 2aWU0/Sqj1dVOpBNKdIkpHplVEOsxcXvT9GjXYdY485u5ZrZ1vaQPt8mF09X+V0zlk5j LtiInzqugro57nOyaYgHKn5FW+KgA1s45NP19ZmXWOTMa+3QnXqTKW7Rq33WBhTLbDrk PFJzduAQBW2kdnV8Tyk1XTB4VNCFLKMt4ib4nWQLGf0wjTYZi2rdog8au8WI+8yUrzud 0DggmxS/oJHwydjzvSJPemqj1mSR1bIho3JjvKgn8Jpt8vLoFMWDAAXbQua8tFDztmpc D/pg== X-Gm-Message-State: AOUpUlFjAvKY2ncU5Kww4j4pq+XcnoPqw3wmXRymb36sGbUjuCGSQDhX ayytv3qtjzmg/AMg7klOEPJ+h2Ut X-Received: by 2002:a02:1a89:: with SMTP id 131-v6mr12486969jai.58.1534095428561; Sun, 12 Aug 2018 10:37:08 -0700 (PDT) Received: from dsa-mb.local ([2601:282:800:fd80:b5f3:68cb:77c2:c077]) by smtp.googlemail.com with ESMTPSA id e5-v6sm2109112itf.0.2018.08.12.10.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Aug 2018 10:37:07 -0700 (PDT) Subject: Re: [RFC/RFT, net-next, 00/17] net: Convert neighbor tables to per-namespace To: Vasily Averin , dsahern@kernel.org, netdev@vger.kernel.org Cc: nikita.leshchenko@oracle.com, roopa@cumulusnetworks.com, stephen@networkplumber.org, idosch@mellanox.com, jiri@mellanox.com, saeedm@mellanox.com, alex.aring@gmail.com, linux-wpan@vger.kernel.org, netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180717120651.15748-1-dsahern@kernel.org> From: David Ahern Message-ID: <988a697a-984c-8ca8-7846-e62feb4a4aec@gmail.com> Date: Sun, 12 Aug 2018 11:37:06 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/12/18 12:46 AM, Vasily Averin wrote: > On 07/17/2018 03:06 PM, dsahern@kernel.org wrote: >> From: David Ahern >> >> Nikita Leshenko reported that neighbor entries in one namespace can >> evict neighbor entries in another. The problem is that the neighbor >> tables have entries across all namespaces without separate accounting >> and with global limits on when to scan for entries to evict. >> >> Resolve by making the neighbor tables for ipv4, ipv6 and decnet per >> namespace and making the accounting and threshold limits per namespace. > > Dear David, > I prepared own patch set to fix this problem and found your one. > It looks perfect for me, and I hope David Miller will merge it soon, > however I have found a few drawbacks: > Hi: I just returned from an extended vacation. I will revive this topic in the next few days. Thanks for the comments. I will address in the next version.