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
F104370597: D28649.diff
Fri, Dec 6, 7:41 PM
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
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