diff options
author | jhb <jhb@FreeBSD.org> | 2012-01-03 19:44:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-01-03 19:44:36 +0000 |
commit | badf97ee75299cfb893ff28bb70d0a5fc731398e (patch) | |
tree | 3e368202b18675d5456724b0a41c495cee3b4962 /lib/libvgl | |
parent | 32180701de4dc720dfc0f25587a6c03c55c06cce (diff) | |
download | FreeBSD-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/libvgl')
0 files changed, 0 insertions, 0 deletions