]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
e1000: Lock nvm print sysctl
authorKevin Bowling <kbowling@FreeBSD.org>
Wed, 6 Oct 2021 23:20:26 +0000 (16:20 -0700)
committerKevin Bowling <kbowling@FreeBSD.org>
Wed, 13 Oct 2021 02:12:21 +0000 (19:12 -0700)
commit38d7f1c5b39145a9ac58678dba59288ffa85fd5e
tree19da28a71f67de8428a5840f84389cc88958b741
parent8d4cf1a63e1db1cd3aff8132e3e0e3ea00e3a6a9
e1000: Lock nvm print sysctl

Otherwise results in KASSERT with debug kernels because we rely on the
iflib CTX lock to implement the software serialization to the NVM model

Reviewed by: gallatin
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D32333

(cherry picked from commit 9b3e252e59c6e63594fb20e3f65188dab9e1eeff)
sys/dev/e1000/if_em.c