https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221317
--- Comment #43 from commit-h...@freebsd.org --- A commit references this bug: Author: marius Date: Wed Feb 13 15:19:32 UTC 2019 New revision: 344100 URL: https://svnweb.freebsd.org/changeset/base/344100 Log: MFC: r343621 ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status From Piotr: This patch introduces adapter->task_requests register responsible for recording requests for mod_task, msf_task, mbx_task, fdir_task and phy_task calls. Instead of enqueueing these tasks with GROUPTASK_ENQUEUE, handlers will be called directly from ixgbe_if_update_admin_status() while holding ctx lock. SIOCGIFXMEDIA ioctl() call reads adapter->media list. The list is deleted and rewritten in ixgbe_handle_msf() task without holding ctx lock. This change is needed to maintain data coherency when sharing adapter info via ioctl() calls. Patch co-authored by Krzysztof Galazka <krzysztof.gala...@intel.com>. PR: 221317 Submitted by: Piotr Pietruszewski <piotr.pietruszew...@intel.com> Reviewed by: sbruno@, IntelNetworking Differential Revision: https://reviews.freebsd.org/D18468 Changes: _U stable/12/ stable/12/sys/dev/ixgbe/if_ix.c stable/12/sys/dev/ixgbe/ixgbe.h stable/12/sys/dev/ixgbe/ixgbe_type.h -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"