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
F106175403: D28649.diff
Thu, Dec 26, 3:30 PM
Unknown Object (File)
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)
Nov 22 2024, 1:13 PM
Unknown Object (File)
Nov 22 2024, 6:15 AM
Unknown Object (File)
Nov 18 2024, 1:58 PM
Unknown Object (File)
Nov 18 2024, 1:58 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