artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df8738
)
Remove netlock assertion from vlan_ioctl(). Now (*if_ioctl)() called
author
mvs
<mvs@openbsd.org>
Wed, 10 Aug 2022 09:01:48 +0000
(09:01 +0000)
committer
mvs
<mvs@openbsd.org>
Wed, 10 Aug 2022 09:01:48 +0000
(09:01 +0000)
without netlock for SIOC{G,S}IFMEDIA commands.
ok bluhm@
sys/net/if_vlan.c
patch
|
blob
|
history
diff --git
a/sys/net/if_vlan.c
b/sys/net/if_vlan.c
index
61d7abf
..
42e0981
100644
(file)
--- a/
sys/net/if_vlan.c
+++ b/
sys/net/if_vlan.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_vlan.c,v 1.2
09 2021/08/30 14:44:39 jasper Exp $
*/
+/* $OpenBSD: if_vlan.c,v 1.2
10 2022/08/10 09:01:48 mvs Exp $
*/
/*
* Copyright 1998 Massachusetts Institute of Technology
@@
-676,7
+676,6
@@
vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
uint16_t tag;
int error = 0;
- NET_ASSERT_LOCKED();
if (sc->sc_dead)
return (ENXIO);