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
Unknown Object (File)
Sat, Apr 19, 4:07 AM
Unknown Object (File)
Mar 27 2025, 7:22 AM
Unknown Object (File)
Mar 18 2025, 2:31 AM
Unknown Object (File)
Mar 12 2025, 6:05 PM
Unknown Object (File)
Feb 24 2025, 6:39 AM
Unknown Object (File)
Feb 24 2025, 3:19 AM
Unknown Object (File)
Feb 23 2025, 5:40 PM
Unknown Object (File)
Feb 23 2025, 9:37 AM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36970
Build 33859: arc lint + arc unit