diff options
author | Florin Coras <fcoras@cisco.com> | 2019-07-31 16:46:24 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-08-01 22:50:09 +0000 |
commit | 49568afd2096600f5d6745385d81d873c8893e29 (patch) | |
tree | 7b8a43fbb76c9084986157351972b0f4cb251b17 /src/vnet/session/application_worker.c | |
parent | 4f9446444d0c718886570626d6e7a25d07610f1b (diff) |
session: session pool migration notification
Type: feature
Change-Id: Ia9a5b1a6d85c7f3f2e6db583b33b5b20029a1e88
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_worker.c')
-rw-r--r-- | src/vnet/session/application_worker.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c index 0be1a2e85f7..28793681afb 100644 --- a/src/vnet/session/application_worker.c +++ b/src/vnet/session/application_worker.c @@ -373,6 +373,15 @@ app_worker_builtin_tx (app_worker_t * app_wrk, session_t * s) } int +app_worker_migrate_notify (app_worker_t * app_wrk, session_t * s, + session_handle_t new_sh) +{ + application_t *app = application_get (app_wrk->app_index); + app->cb_fns.session_migrate_callback (s, new_sh); + return 0; +} + +int app_worker_own_session (app_worker_t * app_wrk, session_t * s) { segment_manager_t *sm; |