git: 5b42b494d543 - main - Fix typo in rib_unsibscribe<_locked>().
Alexander V. Chernikov
melifaro at FreeBSD.org
Sun Aug 1 13:41:07 UTC 2021
The branch main has been updated by melifaro:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b42b494d54365254176dd0ef688cd96edabe657
commit 5b42b494d54365254176dd0ef688cd96edabe657
Author: Alexander V. Chernikov <melifaro at FreeBSD.org>
AuthorDate: 2021-08-01 13:28:41 +0000
Commit: Alexander V. Chernikov <melifaro at FreeBSD.org>
CommitDate: 2021-08-01 13:29:52 +0000
Fix typo in rib_unsibscribe<_locked>().
Submitted by: Zhenlei Huang<zlei.huang at gmail.com>
Differential Revision: https://reviews.freebsd.org/D31356
---
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
More information about the dev-commits-src-main
mailing list