Page MenuHomeFreeBSD

Do not reference returned ifa in in6_ifawithifp().
ClosedPublic

Authored by melifaro on Feb 13 2021, 3:59 PM.
Tags
None
Referenced Files
F108594809: D28649.id83834.diff
Sun, Jan 26, 6:21 PM
Unknown Object (File)
Sat, Jan 25, 9:37 PM
Unknown Object (File)
Sat, Jan 25, 7:26 PM
Unknown Object (File)
Fri, Jan 24, 5:06 PM
Unknown Object (File)
Dec 27 2024, 12:24 AM
Unknown Object (File)
Dec 26 2024, 10:09 PM
Unknown Object (File)
Dec 26 2024, 3:30 PM
Unknown Object (File)
Dec 6 2024, 7:41 PM
Subscribers

Details

Summary

The only place where in6_ifawithifp() is used is ip6_output(), which uses the returned ifa to bump traffic counters.
Given ifa stability guarantees is provided by epoch, do not refcount ifa.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable