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)
Sun, Nov 10, 7:22 PM
Unknown Object (File)
Sun, Nov 10, 4:22 AM
Unknown Object (File)
Sat, Nov 9, 11:39 PM
Unknown Object (File)
Sat, Nov 9, 3:28 PM
Unknown Object (File)
Thu, Oct 17, 3:06 PM
Unknown Object (File)
Sun, Oct 13, 5:09 PM
Unknown Object (File)
Oct 4 2024, 3:15 PM
Unknown Object (File)
Oct 1 2024, 1:16 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36970
Build 33859: arc lint + arc unit