OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-512-g1f3f754

Gerrit Code Review gerrit@openafs.org
Thu, 26 Sep 2024 10:21:33 -0400


The following commit has been merged in the master branch:
commit 1f3f754c01da312c643586a050d691c4153a9998
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Oct 25 16:36:55 2022 -0500

    FBSD: Avoid if_addr_rlock() when needed
    
    FreeBSD commit 19e09f447fd9bbbc7e8b0271dfee7c74e9417047 (Remove
    obsoleted KPIs that were used to access interface address lists.)
    removed if_addr_rlock() and related functions. Instead, callers are
    supposed to enter the net epoch, which is what if_addr_rlock() was
    doing before it was removed. Change our callers to do this, adding new
    wrappers AFS_IF_ADDR_*() to do the right thing.
    
    Ideally we would enter the net epoch just once, outside of the parent
    for() loop, but doing this on each entry makes it simpler to handle
    the if_addr_rlock and non-if_addr_rlock cases.
    
    Change-Id: I36817dd54098e830e15ce6b796bf1714fa9c2753
    Reviewed-on: https://gerrit.openafs.org/15170
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>

 src/config/param.generic_fbsd.h | 9 +++++++++
 src/rx/rx_kcommon.c             | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository