diff options
Diffstat (limited to 'src/vnet/session/application.c')
-rw-r--r-- | src/vnet/session/application.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c index a0ddaed90cf..0b5c951fd70 100644 --- a/src/vnet/session/application.c +++ b/src/vnet/session/application.c @@ -876,11 +876,8 @@ vnet_application_attach (vnet_app_attach_args_t * a) if (application_is_proxy (app)) { application_setup_proxy (app); - /* - * I suspect the segment manager pool gets reallocated (because a new listener - * is added, and each listener has a segment manager) so sm becomes a dangling - * reference. That's why we need to re-grab sm. - */ + /* The segment manager pool is reallocated because a new listener + * is added. Re-grab segment manager to avoid dangling reference */ sm = segment_manager_get (app_wrk->first_segment_manager); } |