summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-01-03 19:44:36 +0000
committerjhb <jhb@FreeBSD.org>2012-01-03 19:44:36 +0000
commitbadf97ee75299cfb893ff28bb70d0a5fc731398e (patch)
tree3e368202b18675d5456724b0a41c495cee3b4962 /lib
parent32180701de4dc720dfc0f25587a6c03c55c06cce (diff)
downloadFreeBSD-src-badf97ee75299cfb893ff28bb70d0a5fc731398e.zip
FreeBSD-src-badf97ee75299cfb893ff28bb70d0a5fc731398e.tar.gz
Grab a reference on the matching interface address (ifa) in the handling
of the SIOC[DG]LIFADDR icotls before dropping the IF_ADDR_LOCK() and release the reference after using it. This prevents the address from being potentially freed out from under the ioctl handler. Reviewed by: bz MFC after: 1 week
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud