summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_umtx.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-27 11:05:53 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-27 11:05:53 +0000
commit3b6551a921beb7f1408f05c3730aa5802bd6e79c (patch)
treef507e266469cd795237647e79f7ed84eb2c6afb7 /sys/kern/kern_umtx.c
parent5cfc09d074a45a6010e2cbbb541bd752a348d917 (diff)
downloadFreeBSD-src-3b6551a921beb7f1408f05c3730aa5802bd6e79c.zip
FreeBSD-src-3b6551a921beb7f1408f05c3730aa5802bd6e79c.tar.gz
In in6_update_ifa(), jump to 'cleanup' rather than returning directly
in one additional case, avoiding an ifaddr reference leak. Defer releasing the in6_ifaddr's in6_ifaddrhead reference until the end of in6_unlink_ifa(), as callers are inconsistent regarding whether or not they hold a reference across the call. This avoids using the ifaddr after it may have been freed. Reported by: tegge Reviewed by: tegge Approved by: re (blanket) MFC after: 6 weeks
Diffstat (limited to 'sys/kern/kern_umtx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud