OpenAFS Master Repository branch, openafs-stable-1_4_12_1, updated. openafs-stable-1_4_14-11-g95e6d15

Gerrit Code Review
Thu, 28 Apr 2011 20:42:16 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_4_12_1 branch:
commit 95e6d159a423d2ec89028f654afc31ab321a9b05
Author: Andrew Deason <>
Date:   Wed May 12 13:59:06 2010 -0500

    Solaris: stop NetIfPoller on shutdown
    The NetIfPoller code that is enabled on AFS_SUN510_ENV never gets
    shutdown properly. The current code looks as if it was intended for
    NetIfPoller to recognize the appropriate termState and just return,
    but we never wait for it, and so we can complete the shutdown sequence
    without NetIfPoller ever knowing that we are shutting down. This can
    cause the machine to panic, as we keep attempting to run NetIfPoller
    even after libafs has been unloaded.
    Since NetIfPoller is fired by default every 30 seconds, we probably do
    not want to wait for it to fire during shutdown. Instead, just destroy
    the necessary timeout and task queue, which will wait for NetIfPoller
    to complete if running, and will just prevent it from running in the
    future otherwise.
    Tested-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit 9562721b89a2a7a7f32a165762d7fba8540006a9)
    Change-Id: Ida24a406958cdafa54bdda954c34a05ef4e7e459
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>

 src/afs/afs_call.c       |   10 ++++++++--
 src/rx/SOLARIS/rx_knet.c |   39 +++++++++++++++++++++++++++++----------
 src/rx/rx_prototypes.h   |    1 +
 3 files changed, 38 insertions(+), 12 deletions(-)

OpenAFS Master Repository