summaryrefslogtreecommitdiff
path: root/sbin/Makefile
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-05-25 19:48:47 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2022-05-25 19:48:47 +0000
commit85370256f90b6531f12ac3b4a770afdc7caff9f7 (patch)
tree1b8340eecb2a2f656f7b203070678c2e6945648d /sbin/Makefile
parentdba8e910baa7fa0225d807f330854dfc2030ac58 (diff)
Call if_put(9) after we finish with `ia' within ip_getmoptions().
if_put(9) call means we finish work with `ifp' and it could be destroyed. `ia' is the pointer to 'in_ifaddr' data belongs to `ifp', so we need to release corresponding `ifp' after we finish deal with `ia'. `if_addrlist' list destruction and ip_getmoptions() are serialized with kernel and net locks so this is not critical, but looks inconsistent. ok bluhm@
Diffstat (limited to 'sbin/Makefile')
0 files changed, 0 insertions, 0 deletions