afs: Free rx/rxevent resources during shutdown 19/13719/4
authorAndrew Deason <adeason@dson.org>
Sun, 21 Jul 2019 23:55:49 +0000 (18:55 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 15 May 2020 16:36:25 +0000 (12:36 -0400)
Call shutdown_rx() and shutdown_rxevent() near the end of our shutdown
sequence, in order to free various Rx resources and avoid memory
leaks.

Change-Id: Id2e912295cf760b5ad83057487e6c4c4fadda11b
Reviewed-on: https://gerrit.openafs.org/13719
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>

src/afs/afs_init.c

index 277eb66..f2414f7 100644 (file)
@@ -881,4 +881,6 @@ shutdown_AFS(void)
     }
     shutdown_cell();
     shutdown_server();
+    shutdown_rx();
+    shutdown_rxevent();
 }