summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/qsort.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-25 23:02:57 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-25 23:02:57 +0000
commita5976db964145a6561ae66caccd1532bad7f97ee (patch)
treecf55f2a2270afa27860f3debea8f482d6224131b /lib/libc/stdlib/qsort.c
parent32ae00fba1894eb6718fc0f9b3e55b6b2c70a37d (diff)
downloadFreeBSD-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/qsort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud