diff options
Diffstat (limited to 'libtransport/src/hicn/transport/core/memif_connector.cc')
-rw-r--r-- | libtransport/src/hicn/transport/core/memif_connector.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtransport/src/hicn/transport/core/memif_connector.cc b/libtransport/src/hicn/transport/core/memif_connector.cc index a4756d136..863e1aa20 100644 --- a/libtransport/src/hicn/transport/core/memif_connector.cc +++ b/libtransport/src/hicn/transport/core/memif_connector.cc @@ -377,9 +377,6 @@ int MemifConnector::onInterrupt(memif_conn_handle_t conn, void *private_ctx, } } - connector->io_service_.post( - std::bind(&MemifConnector::processInputBuffer, connector)); - /* mark memif buffers and shared memory buffers as free */ /* free processed buffers */ @@ -399,6 +396,9 @@ int MemifConnector::onInterrupt(memif_conn_handle_t conn, void *private_ctx, // } } while (ret_val == MEMIF_ERR_NOBUF); + connector->io_service_.post( + std::bind(&MemifConnector::processInputBuffer, connector)); + return 0; error: |