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)
Mon, Dec 2, 8:24 PM
Unknown Object (File)
Thu, Nov 28, 4:37 PM
Unknown Object (File)
Fri, Nov 22, 1:13 PM
Unknown Object (File)
Fri, Nov 22, 6:15 AM
Unknown Object (File)
Mon, Nov 18, 1:58 PM
Unknown Object (File)
Mon, Nov 18, 1:58 PM
Unknown Object (File)
Sun, Nov 17, 6:38 PM
Unknown Object (File)
Wed, Nov 13, 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36970
Build 33859: arc lint + arc unit