Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp649282rwb; Thu, 15 Dec 2022 00:04:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf713DSZKazGMamoTBoNXqION5yvi5XiCAHDeq2YSNjKNpTnAibBJYfZDjpUlaQ06E0fKKij X-Received: by 2002:a17:906:76d2:b0:7c1:20ff:c044 with SMTP id q18-20020a17090676d200b007c120ffc044mr23236104ejn.27.1671091464288; Thu, 15 Dec 2022 00:04:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671091464; cv=none; d=google.com; s=arc-20160816; b=Wr7VSUfj/paQgFfp56Z+6JAGmkl190QllABS/pxt2DSnr48VbTyUtIDE9BwrXBw4Rv emqG37a9Z/ZdKuyxGoJ8a5BHG4c2gS0rfKuPOHO1YnvnWXqW2vHSbDcioRv+RflAJ58U gjKGghQoePfapIZ9QVBBNaw01w7bSoS7mfI+s11NUQI86DrBj4EvHEZTED/KunGIeMAq ngGXsD0/8xC2WideuFRgkLMGv3i9HMNEobuFtbHUbfYwMvZhDpJMYY/PFIjpCIodF0vy ZndDbjl0S3S5C/falzn0MC9Kz+MhOSN9lIh5uOpFdvzml/VEc9Mc1Z5S+4gl5mMZtiSp 3yNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Hoxgf87k7oGSQfRPP7qLhzJhwylhRbiW8KymAGd+A14=; b=ldRc+v1r5NDW8hzU5KrwRxD7tfaSk+d4dmOe9IP/PH6drcRXI9+6+Hs4OfpPSXdEL5 /0t7CwTw6uvRGKOEjzwh3q6V3TejZV61cNDyr/xmtBYYKnHXnmv3iAG4Oc/HWCMWQfUx DTFhF1RTg60W2lDzv6vtOTFqkSs/pn2EnWmwpnAF4bkYhnKDbG2h9k4/ShnRFAUbc2qH gw3VjzMYEK+R8vn5HgoFPwqtWTUnKMftmnFdr8oBSrR8BSwJIml2gf4CtECKo+Om9D9S 6ZN3BHwtkFdKqHEN+dMarUx64uluS9FDUQbwN2uGOm9fKGQlMDuAmy46rsPMO3yrdPwu ZkwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="IYh5Sm/c"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wc16-20020a170907125000b007aea5ae3956si9299216ejb.820.2022.12.15.00.04.07; Thu, 15 Dec 2022 00:04:24 -0800 (PST) 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=@gmail.com header.s=20210112 header.b="IYh5Sm/c"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229912AbiLOHQb (ORCPT + 70 others); Thu, 15 Dec 2022 02:16:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbiLOHQF (ORCPT ); Thu, 15 Dec 2022 02:16:05 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 083CE32B8B; Wed, 14 Dec 2022 23:16:03 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id 3-20020a17090a098300b00219041dcbe9so1821064pjo.3; Wed, 14 Dec 2022 23:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Hoxgf87k7oGSQfRPP7qLhzJhwylhRbiW8KymAGd+A14=; b=IYh5Sm/czZpi1R4mT+Otvt+OGW809SPf9AyY6EEHpdCiIhOg/DuGffBGsUc4xa8G4f VaJZkYPTtMu4RPblzWsdEYi/pwv5YiTrWqBUqI6LpKhnqVNnRRkYprzzo5h7rYR/xfuO pVHS2QJLRjv/jIO6okYrkiWRlHAD10RPQ6zv9Wn5XYVmR0ZMHsXFnCc6ytc22etUs9Q9 SYHwS3f0yt/0PqOFUXT42awssR+aX4jzRTY1MTTmAkV58SnSEtejOnvKHLGziqFpIjgz iPCG5EIiD2BfZLhJMEtURHoTqbfu+ZVJSWSEoI/1hK6BFdHp32qL5Hz1ZkgjZ1p4msJv tDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Hoxgf87k7oGSQfRPP7qLhzJhwylhRbiW8KymAGd+A14=; b=Bs88Z7XUx5koYhwIGQBKsOg7tDei7Gk+b/xVwOvTPUxh5zJPuK8mF0B4A5+AXvCA3e KZGWpFebL/RaFOqEmsSJthJ1NFe0irvt+35btHbRqhNmZxUJ1b4xiYD1ijConmw9NkIY Oe65Pc/0/pVjQFTqml/5fyz1tOXTb/hcHkSr2V1W6ya1lIYT8btWoOZaIECJkGTqAdN1 jfWC0Bb8KVynfVNx/kVFbje927KQDnbd+9cp+0HDC44B5GFBzQVSsxUlRP3i2k53r5gL PiBPWyMITnrUniVMbioX4fjvu/qV4SSR9Dg8pZ3QBhHnGQJVcRLZSzbuVu0htZBAqjbn b0+Q== X-Gm-Message-State: ANoB5plRTFtuWbPVJ9z/MnX99RdufCIn2GXUrNuj1yFJcfSGA1CdsBbi Jqf0Pp0guKh6l5YWEBJ3/z0= X-Received: by 2002:a05:6a20:102a:b0:a4:7077:5a01 with SMTP id a42-20020a056a20102a00b000a470775a01mr43710095pzd.13.1671088562411; Wed, 14 Dec 2022 23:16:02 -0800 (PST) Received: from localhost.localdomain ([202.120.234.246]) by smtp.googlemail.com with ESMTPSA id e8-20020aa798c8000000b005769b244c2fsm992170pfm.40.2022.12.14.23.15.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 23:16:01 -0800 (PST) From: Miaoqian Lin To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sebastian Andrzej Siewior , Menglong Dong , Kuniyuki Iwashima , Petr Machata , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linmq006@gmail.com Subject: [PATCH] net: Fix documentation for unregister_netdevice_notifier_net Date: Thu, 15 Dec 2022 11:15:49 +0400 Message-Id: <20221215071551.421451-1-linmq006@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 unregister_netdevice_notifier_net() is used for unregister a notifier registered by register_netdevice_notifier_net(). Fixes: a30c7b429f2d ("net: introduce per-netns netdevice notifiers") Signed-off-by: Miaoqian Lin --- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index b76fb37b381e..85c6c095a1b6 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1840,7 +1840,7 @@ EXPORT_SYMBOL(register_netdevice_notifier_net); * @nb: notifier * * Unregister a notifier previously registered by - * register_netdevice_notifier(). The notifier is unlinked into the + * register_netdevice_notifier_net(). The notifier is unlinked into the * kernel structures and may then be reused. A negative errno code * is returned on a failure. * -- 2.25.1