diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-03-31 13:56:26 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-03-31 13:56:26 +0000 |
commit | 6b0e10921a1c92878501ece65de57754518af73c (patch) | |
tree | c631352a7bafad88df1b6548800ec0e4468238a0 /sys/net | |
parent | 1212f7344e94dc2ff1dc30af71d2af5116821136 (diff) |
The KERNEL_LOCK() is still what serializes access to bridge(4) data structures.
Fix a warning reported by Hrvoje Popovski, ok visa@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bridgestp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index 3ccd36ff252..2fb0370e55f 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bridgestp.c,v 1.67 2018/12/07 16:17:51 mpi Exp $ */ +/* $OpenBSD: bridgestp.c,v 1.68 2019/03/31 13:56:25 mpi Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -1584,7 +1584,7 @@ bstp_notify_rtage(struct bstp_port *bp, int pending) { int age = 0; - NET_ASSERT_LOCKED(); + KERNEL_ASSERT_LOCKED(); switch (bp->bp_protover) { case BSTP_PROTO_STP: |