summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-03-01 13:14:33 +0000
committerglebius <glebius@FreeBSD.org>2005-03-01 13:14:33 +0000
commit1f4abe7c9a6b1957377e12a78afbe061d22461bc (patch)
treedc6fb5a9817a9eb0e8eace39798b6f454e321f46 /lib/libc
parent1f62a67ad77c28bc5caf8307e33799f9417b6af9 (diff)
downloadFreeBSD-src-1f4abe7c9a6b1957377e12a78afbe061d22461bc.zip
FreeBSD-src-1f4abe7c9a6b1957377e12a78afbe061d22461bc.tar.gz
Add more locking when reading/writing to carp softc. When carp softc is
attached to a parent interface we use its mutex to lock the softc. This means that in several places like carp_ioctl() we lock softc conditionaly. This should be redesigned. To avoid LORs when MII announces us a link state change, we schedule a quick callout and call carp_carpdev_state_locked() from it. Initialize callouts using NET_CALLOUT_MPSAFE. Sponsored by: Rambler Reviewed by: mlaier
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud