From owner-dev-commits-src-all@freebsd.org Tue Sep 7 21:12:49 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 154FC66BF64; Tue, 7 Sep 2021 21:12:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H3yf61PLJz4Vqq; Tue, 7 Sep 2021 21:12:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F8E719949; Tue, 7 Sep 2021 21:12:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 187LCjE1023853; Tue, 7 Sep 2021 21:12:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 187LCjkO023852; Tue, 7 Sep 2021 21:12:45 GMT (envelope-from git) Date: Tue, 7 Sep 2021 21:12:45 GMT Message-Id: <202109072112.187LCjkO023852@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 0f7162e0cd46 - stable/13 - Fix typo in rib_unsibscribe<_locked>(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0f7162e0cd46784442b44f44e9303dc29705dc6b Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2021 21:12:49 -0000 The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=0f7162e0cd46784442b44f44e9303dc29705dc6b commit 0f7162e0cd46784442b44f44e9303dc29705dc6b Author: Alexander V. Chernikov AuthorDate: 2021-08-01 13:28:41 +0000 Commit: Alexander V. Chernikov CommitDate: 2021-09-07 21:02:57 +0000 Fix typo in rib_unsibscribe<_locked>(). Submitted by: Zhenlei Huang Differential Revision: https://reviews.freebsd.org/D31356 (cherry picked from commit 5b42b494d54365254176dd0ef688cd96edabe657) --- sys/net/route/fib_algo.c | 2 +- sys/net/route/route_ctl.c | 4 ++-- sys/net/route/route_ctl.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/net/route/fib_algo.c b/sys/net/route/fib_algo.c index 3a09408c92b1..4bae9e5edd6c 100644 --- a/sys/net/route/fib_algo.c +++ b/sys/net/route/fib_algo.c @@ -1028,7 +1028,7 @@ schedule_destroy_fd_instance(struct fib_data *fd, bool in_callout) FD_PRINTF(LOG_INFO, fd, "DETACH"); if (fd->fd_rs != NULL) - rib_unsibscribe_locked(fd->fd_rs); + rib_unsubscribe_locked(fd->fd_rs); /* * After rib_unsubscribe() no _new_ handle_rtable_change_cb() calls diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c index a0c4a2283a00..582901d67a8d 100644 --- a/sys/net/route/route_ctl.c +++ b/sys/net/route/route_ctl.c @@ -1477,7 +1477,7 @@ rib_subscribe_locked(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg, * Needs to be run in network epoch. */ void -rib_unsibscribe(struct rib_subscription *rs) +rib_unsubscribe(struct rib_subscription *rs) { struct rib_head *rnh = rs->rnh; @@ -1492,7 +1492,7 @@ rib_unsibscribe(struct rib_subscription *rs) } void -rib_unsibscribe_locked(struct rib_subscription *rs) +rib_unsubscribe_locked(struct rib_subscription *rs) { struct rib_head *rnh = rs->rnh; diff --git a/sys/net/route/route_ctl.h b/sys/net/route/route_ctl.h index 4fe45cc8a970..229c762d4a73 100644 --- a/sys/net/route/route_ctl.h +++ b/sys/net/route/route_ctl.h @@ -154,7 +154,7 @@ struct rib_subscription *rib_subscribe_internal(struct rib_head *rnh, bool waitok); struct rib_subscription *rib_subscribe_locked(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type); -void rib_unsibscribe(struct rib_subscription *rs); -void rib_unsibscribe_locked(struct rib_subscription *rs); +void rib_unsubscribe(struct rib_subscription *rs); +void rib_unsubscribe_locked(struct rib_subscription *rs); #endif