Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Added missing locking order between sppp and IFNET_LOCK
details: https://anonhg.NetBSD.org/src/rev/8af6e078e2ab
branches: trunk
changeset: 378537:8af6e078e2ab
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Fri Apr 16 02:26:25 2021 +0000
description:
Added missing locking order between sppp and IFNET_LOCK
diffstat:
sys/net/if_spppvar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 25ed055a6684 -r 8af6e078e2ab sys/net/if_spppvar.h
--- a/sys/net/if_spppvar.h Fri Apr 16 02:23:25 2021 +0000
+++ b/sys/net/if_spppvar.h Fri Apr 16 02:26:25 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_spppvar.h,v 1.32 2020/11/25 10:30:51 yamaguchi Exp $ */
+/* $NetBSD: if_spppvar.h,v 1.33 2021/04/16 02:26:25 yamaguchi Exp $ */
#ifndef _NET_IF_SPPPVAR_H_
#define _NET_IF_SPPPVAR_H_
@@ -240,7 +240,7 @@ void sppp_flush (struct ifnet *);
* if_spppsubr.c.
*
* Locking order:
- * - spppq_lock => struct sppp->pp_lock
+ * - IFNET_LOCK => spppq_lock => struct sppp->pp_lock
*
* NOTICE
* - Lower layers must not acquire sppp->pp_lock
Home |
Main Index |
Thread Index |
Old Index