From patchwork Thu Feb 11 10:44:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 382350 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 6966FC433DB for ; Thu, 11 Feb 2021 10:52:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D72464E23 for ; Thu, 11 Feb 2021 10:52:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbhBKKvQ (ORCPT ); Thu, 11 Feb 2021 05:51:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbhBKKqd (ORCPT ); Thu, 11 Feb 2021 05:46:33 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64696C061786 for ; Thu, 11 Feb 2021 02:45:28 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id f14so9312648ejc.8 for ; Thu, 11 Feb 2021 02:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Q0x8reR+y8VY9XBx3PtPCY7fqMs2lXRuHU5JVxtfCBc=; b=EpkkpDkbPM6yqlUUEemRBXhP/iGDJX6I9odjD5O/btmAvAR0dPkyhmbe88jWKAUrbT c8gMzf3cGuadT5n+je2qi7s81AtH68k+Jb7m179PLNUDT54gJYRsL9U1pO0FGgEhIpKN PbrI6aqavJal5yyBd3coIA2QrCHKEtTKTZSQ4pdBN0qjtmXkkpSawNx3pmbjx4BMOWdC QAnVfj2C0MaSaWjqKeuHHEMgCIkqL+V9m55MxHXF1sdplXQeZsCIWiB5x9yqv1fasCNl Xv2Dt2dzySFQGIX4lF39Om5BtKl85Iax1C4JpM/iFewdCzl/6x3GHuTFiRN82jhr/H4w ELzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Q0x8reR+y8VY9XBx3PtPCY7fqMs2lXRuHU5JVxtfCBc=; b=LxmcBbxhzc/a2RltQQ2OcWY3Yn4YXuSpog77VX5Vz10vX22kCN/uQAqba+kIDzi+ZU 0FRdzCQAtvGqdEczJD7uxDSVmoj1A6+HBMYlJ1tWv4XGA3lg9QS1/bOS3m2a+6gf5yGx dHDyd8YDY125Q6SY8/ZZDtun9TNhs9fKBoOQJ+W5kQSrlOT9haT/KEXmhO/E239/gQLY kk4YxmL3IxB02GDhXArBEzrZMGtsMGFnInXkQ935njWQKE9VhHaqIjWRLw5IyIGaJUz3 mRWRUN20jmhIKvKf0qz1isQ3X2XEgPydDu/gVKjiap//MlvN0fNQa9YwaaLuc2yemucy B4iw== X-Gm-Message-State: AOAM530LxCb4zHRupQbkE+Z10gc+RKEnMYxRioKHuUFIVbY7XWIQZbKc n6dJ0aNv6gzt4uUK48z0j8I= X-Google-Smtp-Source: ABdhPJy/KtVcKkkCpVJ7XhgLn5jkI+Y8yn59maxYjddDP0Gkn6i4JhUZnBz7x5EWZFuw3+pLnrlCtg== X-Received: by 2002:a17:906:9bf8:: with SMTP id de56mr7796151ejc.425.1613040327152; Thu, 11 Feb 2021 02:45:27 -0800 (PST) Received: from localhost.localdomain (5-12-227-87.residential.rdsnet.ro. [5.12.227.87]) by smtp.gmail.com with ESMTPSA id l1sm3815458eje.12.2021.02.11.02.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 02:45:26 -0800 (PST) From: Vladimir Oltean To: David Ahern , netdev@vger.kernel.org Cc: Andrew Lunn , Florian Fainelli , Vivien Didelot , Jiri Pirko , Ido Schimmel , DENG Qingfang , Tobias Waldekranz , Roopa Prabhu , Nikolay Aleksandrov , Stephen Hemminger Subject: [PATCH iproute2 2/6] man8/bridge.8: document that "local" is default for "bridge fdb add" Date: Thu, 11 Feb 2021 12:44:58 +0200 Message-Id: <20210211104502.2081443-3-olteanv@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210211104502.2081443-1-olteanv@gmail.com> References: <20210211104502.2081443-1-olteanv@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Vladimir Oltean The bridge does this: fdb_modify: /* Assume permanent */ if (!(req.ndm.ndm_state&(NUD_PERMANENT|NUD_REACHABLE))) req.ndm.ndm_state |= NUD_PERMANENT; So let's make the user aware of the fact that if they don't want local entries, they need to specify some other flag like "static". Signed-off-by: Vladimir Oltean --- man/man8/bridge.8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/man8/bridge.8 b/man/man8/bridge.8 index 12c09a56563d..223e65d64757 100644 --- a/man/man8/bridge.8 +++ b/man/man8/bridge.8 @@ -514,7 +514,8 @@ the Ethernet MAC address. the interface to which this address is associated. .B local -- is a local permanent fdb entry +- is a local permanent fdb entry. This flag is default unless "static" or + "dynamic" are explicitly specified. .sp .B permanent