CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2024/01/07 14:01:45
Modified files: sys/dev/pci : if_ixl.c Log message: In ixl(4) attach, initialize mutex before using it. Function ixl_get_link_status() calls ixl_set_link_status() which locks sc_link_state_mtx. Move initilization of mutex before calling ixl_get_link_status(). This makes witness happy. Bug reported and fix tested by Hrvoje Popovski; OK miod@