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)
Feb 8 2024, 10:01 PM
Unknown Object (File)
Jan 25 2024, 8:52 AM
Unknown Object (File)
Jan 17 2024, 3:33 PM
Unknown Object (File)
Dec 22 2023, 11:08 PM
Unknown Object (File)
Dec 12 2023, 12:18 AM
Unknown Object (File)
Nov 20 2023, 9:36 PM
Unknown Object (File)
Oct 5 2023, 10:40 AM
Unknown Object (File)
Aug 16 2023, 8:28 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable