diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-04-25 23:02:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-04-25 23:02:57 +0000 |
commit | a5976db964145a6561ae66caccd1532bad7f97ee (patch) | |
tree | cf55f2a2270afa27860f3debea8f482d6224131b /lib/libc/stdlib/hcreate.c | |
parent | 32ae00fba1894eb6718fc0f9b3e55b6b2c70a37d (diff) | |
download | FreeBSD-src-a5976db964145a6561ae66caccd1532bad7f97ee.zip FreeBSD-src-a5976db964145a6561ae66caccd1532bad7f97ee.tar.gz |
Expand coverage of IF_ADDR_LOCK() in in_control() from point of initial
lookup of 'ia' from if_addrhead through most use. Note that we
currently have to drop it prematurely in some cases due to calls out to
the routing and interface code while using 'ia', but this closes many
races. Annotate several potential races that persist after this change.
Move to using M_NOWAIT for allocating new interface addresses due to
lock(s) being held.
MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions