Module Name: src Committed By: msaitoh Date: Wed Aug 29 09:03:15 UTC 2018
Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that media change may fail. I noticed that ifconfig ixgN media XXX took a 10 or more seconds on a Denverton machie. I occurred by trying take a lock and timed out. The reason was that ixgbe_media_change() didn't take CORE_LOCK. Do it. This problem was from FreeBSD's pre-iflib ixgbe (I don't know whether this problem really occurs on FreeBSD or not). Post-iflib ixgbe has no problem because iflib_media_change() takes a lock. XXX pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.163 -r1.164 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.