From: mvs Date: Wed, 10 Aug 2022 09:01:48 +0000 (+0000) Subject: Remove netlock assertion from vlan_ioctl(). Now (*if_ioctl)() called X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6eb47e174ecf249945d0057e36f8682e4f8fd044;p=openbsd Remove netlock assertion from vlan_ioctl(). Now (*if_ioctl)() called without netlock for SIOC{G,S}IFMEDIA commands. ok bluhm@ --- diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 61d7abf748a..42e09814397 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vlan.c,v 1.209 2021/08/30 14:44:39 jasper Exp $ */ +/* $OpenBSD: if_vlan.c,v 1.210 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);