Fix fallout from netlock removal in media ioctl. The bridge does
authorbluhm <bluhm@openbsd.org>
Sun, 7 Aug 2022 00:57:43 +0000 (00:57 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 7 Aug 2022 00:57:43 +0000 (00:57 +0000)
commit03364a5777399b0f362872f9fc219711ef3582a9
tree3a787eecee73b26ac10c2afcd98d82e1214fc862
parentde1f7a698f21e55b9905b67d8a13b9f23fa4633d
Fix fallout from netlock removal in media ioctl.  The bridge does
not support media parameter, so just skip these ioctls.  Do not
release a netlock that was not taken.
panic found and fix tested by Michael Graves; OK mvs@
sys/net/if_bridge.c