diff options
author | glebius <glebius@FreeBSD.org> | 2005-03-01 13:14:33 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-03-01 13:14:33 +0000 |
commit | 1f4abe7c9a6b1957377e12a78afbe061d22461bc (patch) | |
tree | dc6fb5a9817a9eb0e8eace39798b6f454e321f46 /lib/libc | |
parent | 1f62a67ad77c28bc5caf8307e33799f9417b6af9 (diff) | |
download | FreeBSD-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