]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We don't actually reparent the chunk
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 15 Jul 2018 13:49:39 +0000 (09:49 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 15 Jul 2018 13:49:39 +0000 (09:49 -0400)
src/lib/server/state.c

index 46ebe2462d305ca4ad84cb02118ba433cbd60214..11bd26edb4a9469e741b49c289c683ed94c74e01 100644 (file)
@@ -382,9 +382,6 @@ static fr_state_entry_t *state_entry_create(fr_state_tree_t *state, REQUEST *req
        /*
         *      Allocation doesn't need to occur inside the critical region
         *      and would add significantly to contention.
-        *
-        *      We reparent the talloc chunk later (when we hold the mutex again)
-        *      we can't do it now due to thread safety issues with talloc.
         */
        entry = talloc_zero(NULL, fr_state_entry_t);
        if (!entry) {