diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2021-02-14 10:11:06 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2021-02-14 10:11:18 +0000 |
commit | 1bd44b11e59f1e9ee7245f8de1f823bc5287b9ef (patch) | |
tree | d3a3d79f747b422ac2d3ef2a1c8625b4414c0a96 /contrib | |
parent | 25c6318c7906f6f4e0c66ce16f81bdb830ba2e3b (diff) | |
download | src-1bd44b11e59f1e9ee7245f8de1f823bc5287b9ef.tar.gz src-1bd44b11e59f1e9ee7245f8de1f823bc5287b9ef.zip |
Do not reference returned ifa in in6_ifawithifp().
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.
This eliminates 2 atomic ops from IPv6 fast path.
Reviewed By: rstone
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28649
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions